Skip to content

Commit

Permalink
Remove flake8 and add black and pre-commit to devenv
Browse files Browse the repository at this point in the history
  • Loading branch information
arthursoprana committed Oct 4, 2019
1 parent 6d62e7c commit e090474
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
3 changes: 1 addition & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/ambv/black
rev: 18.6b4
rev: 19.3b0
hooks:
- id: black
args: [--safe, --quiet]
Expand All @@ -11,7 +11,6 @@ repos:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: debug-statements
- id: flake8
- repo: local
hooks:
- id: rst
Expand Down
2 changes: 2 additions & 0 deletions environment.devenv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
[bdist_wheel]
universal = 1

[flake8]
exclude = docs

[aliases]
test = pytest

Expand Down
4 changes: 0 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,3 @@ extras = docs

commands =
sphinx-build -W -b html . _build

[flake8]
max-line-length = 120
ignore = E203,E302,F401,W503

0 comments on commit e090474

Please sign in to comment.