diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dcaa2d6..48fd77b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/ambv/black - rev: 18.6b4 + rev: 19.3b0 hooks: - id: black args: [--safe, --quiet] @@ -11,7 +11,6 @@ repos: - id: trailing-whitespace - id: end-of-file-fixer - id: debug-statements - - id: flake8 - repo: local hooks: - id: rst diff --git a/environment.devenv.yml b/environment.devenv.yml index 30e81d7..d4f97dc 100644 --- a/environment.devenv.yml +++ b/environment.devenv.yml @@ -7,6 +7,8 @@ dependencies: - oop-ext>=0.2.4 - pytest - pytest-mock>=1.10 + - black>=19.3b0 + - pre-commit>=1.11.0 environment: PYTHONPATH: diff --git a/setup.cfg b/setup.cfg index 2bc1350..1ad91cc 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,9 +1,6 @@ [bdist_wheel] universal = 1 -[flake8] -exclude = docs - [aliases] test = pytest diff --git a/tox.ini b/tox.ini index f6b027f..8dac53e 100644 --- a/tox.ini +++ b/tox.ini @@ -27,7 +27,3 @@ extras = docs commands = sphinx-build -W -b html . _build - -[flake8] -max-line-length = 120 -ignore = E203,E302,F401,W503