tox: Add pep8 and flake8 configuration in tox.ini
This helps ensuring everyone uses the code checkers with the same configuration. Initial values based on earlier discussion. The max-line-length is currently just based on the screen width I have on my netbook.
This commit is contained in:

committed by
Sergey Shepelev

parent
e67ca947c4
commit
16e746be5e
12
tox.ini
12
tox.ini
@@ -1,3 +1,15 @@
|
|||||||
|
# The flake8 and pep8 sections just contain configuration for corresponding tools.
|
||||||
|
# Checkers are not run implicitly.
|
||||||
|
[flake8]
|
||||||
|
exclude = *.egg*,.env,.git,.hg,.tox,_*,build*,dist*,venv*
|
||||||
|
ignore = E261
|
||||||
|
max-line-length = 101
|
||||||
|
|
||||||
|
[pep8]
|
||||||
|
exclude = *.egg*,.env,.git,.hg,.tox,_*,build*,dist*,venv*
|
||||||
|
ignore = E261
|
||||||
|
max-line-length = 101
|
||||||
|
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py25selects,py25poll,py26selects,py26poll,py26epolls,py27selects,py27poll,py27epolls
|
envlist = py25selects,py25poll,py26selects,py26poll,py26epolls,py27selects,py27poll,py27epolls
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user