Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #688 from willkg/update-dev-deps
Update dev requirements
- Loading branch information
Showing
9 changed files
with
95 additions
and
130 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,22 @@ | ||
include CHANGES | ||
include CONTRIBUTORS | ||
include CONTRIBUTING.rst | ||
include CODE_OF_CONDUCT.md | ||
include SECURITY.md | ||
include tox.ini | ||
include CONTRIBUTING.rst | ||
include CONTRIBUTORS | ||
include LICENSE | ||
include Makefile | ||
include README.rst | ||
include requirements-dev.txt | ||
include requirements-flake8.txt | ||
include SECURITY.md | ||
include tox.ini | ||
|
||
include docs/conf.py | ||
include docs/Makefile | ||
include docs/requirements.txt | ||
|
||
include scripts/* | ||
|
||
recursive-include bleach *.py *.json *.rst *.sh *.txt INSTALLER METADATA RECORD WHEEL LICENSE REQUESTED *.SHA256SUM | ||
recursive-include bleach *.py *.rst *.sh *.txt INSTALLER METADATA RECORD WHEEL LICENSE REQUESTED *.SHA256SUM | ||
recursive-include docs *.rst | ||
recursive-include tests *.py *.test | ||
recursive-include tests_website *.html *.py *.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
DEFAULT_GOAL := help | ||
PROJECT=bleach | ||
|
||
.PHONY: help | ||
help: | ||
@echo "Available rules:" | ||
@fgrep -h "##" Makefile | fgrep -v fgrep | sed 's/\(.*\):.*##/\1: /' | ||
|
||
.PHONY: test | ||
test: ## Run tests | ||
tox | ||
|
||
.PHONY: docs | ||
docs: ## Build docs | ||
tox -e py39-docs | ||
|
||
.PHONY: lint | ||
lint: ## Lint files | ||
black --target-version=py37 --exclude=_vendor setup.py bleach/ tests/ tests_website/ | ||
tox -e py39-lint | ||
tox -e py39-format-check | ||
|
||
.PHONY: vendorverify | ||
vendorverify: ## Verify vendored files | ||
tox -e py39-vendorverify | ||
|
||
.PHONY: clean | ||
clean: ## Clean build artifacts | ||
rm -rf build dist ${PROJECT}.egg-info .tox .pytest_cache | ||
rm -rf docs/_build/* | ||
rm -rf .eggs | ||
find . -name __pycache__ | xargs rm -rf | ||
find . -name '*.pyc' | xargs rm -rf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
-e . | ||
|
||
black==22.3.0; implementation_name == 'cpython' | ||
build==0.8.0 | ||
flake8==4.0.1 | ||
mypy==0.961; implementation_name =='cpython' | ||
pip-tools==6.6.2 | ||
pytest==7.1.2 | ||
Sphinx==4.3.2 | ||
tox==3.25.0 | ||
twine==4.0.1 | ||
wheel==0.37.1 | ||
black==22.10.0; implementation_name == 'cpython' | ||
build==0.9.0 | ||
mypy==0.991; implementation_name =='cpython' | ||
pip-tools==6.11.0 | ||
pytest==7.2.0 | ||
Sphinx==5.3.0 | ||
tox==3.27.1 | ||
tox-gh-actions==2.11.0 | ||
twine==4.0.2 | ||
wheel==0.38.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Requirements for running flake8 | ||
flake8==6.0.0 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters