Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flake8: Put configuration into standardized place #1974

Merged
merged 1 commit into from
Jan 3, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,16 @@ commands =
python --version
nosetests -v --tests=test/visualiser

# Flake8 Configuration, inspired from https://gitlab.com/pycqa/flake8/blob/master/tox.ini
# By putting it here, local flake8 runs will also pick it up.
[flake8]
max-line-length=160

[testenv:flake8]
deps = flake8>=3.2.0
commands = flake8 --max-line-length=160 --exclude=doc,luigi/six.py,.tox
deps =
flake8>=3.2.0
commands =
flake8 --exclude=doc,luigi/six.py,.tox
flake8 --max-line-length=100 --ignore=E265 doc

[testenv:autopep8]
Expand Down