Skip to content

Commit

Permalink
Merge pull request #61 from cfpb/fix/flake8
Browse files Browse the repository at this point in the history
Fix flake8 configuration
  • Loading branch information
chosak committed Oct 28, 2022
2 parents aaeede3 + 3748d25 commit d4b5018
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
6 changes: 2 additions & 4 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,13 @@ ignore =
# PEP8 weakly recommends Knuth-style line breaks before binary
# operators
W503, W504
exclude =
extend-exclude =
# These are directories that it's a waste of time to traverse
.git,
.tox,
.venv,
docs,
venv,

# Generated migration files will throw errors. We need to find a way
# to exclude django-generated migrations while including
# manually-written migrations.
*/migrations/*.py,
**/migrations/*.py,
2 changes: 0 additions & 2 deletions setup.cfg

This file was deleted.

9 changes: 0 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,6 @@ commands=
flake8 wagtailinventory setup.py
isort --check-only --diff wagtailinventory

[flake8]
ignore=E731,W503,W504
exclude=
.git,
.tox,
__pycache__,
*/migrations/*.py,
*/tests/testapp/migrations/*.py,

[isort]
combine_as_imports=1
lines_after_imports=2
Expand Down

0 comments on commit d4b5018

Please sign in to comment.