Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Commit

Permalink
fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
antonagestam committed Jun 29, 2019
1 parent 652ffd4 commit 33b06c5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
9 changes: 9 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[flake8]
exclude = appveyor, .idea, .git, .venv, .tox, __pycache__, *.egg-info
max-complexity = 8
max-line-length = 88
enable-extensions =
M511 # flake8-mutable
# see this discussion as to why we're ignoring E722:
# https://github.com/PyCQA/pycodestyle/issues/703
extend-ignore = F403,E265,E722
11 changes: 4 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ commands =
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY
[testenv:flake8]
basepython = python
deps = flake8
commands = flake8 collectfast runtests.py setup.py
[flake8]
max-line-length = 80
ignore = F403,E265,E722
exclude = .git
max-complexity = 8
deps =
flake8
flake8-mutable
commands = flake8

0 comments on commit 33b06c5

Please sign in to comment.