2017-01-23 19:00:52 +03:00
|
|
|
[pycodestyle]
|
2017-02-27 16:06:27 +03:00
|
|
|
exclude = .git,__pycache__,.vagrant,node_modules
|
2017-01-23 19:00:52 +03:00
|
|
|
# E121,E123,E126,E226,E24,E704,W503: Ignored in default pycodestyle config:
|
|
|
|
# https://github.com/PyCQA/pycodestyle/blob/2.2.0/pycodestyle.py#L72
|
2015-02-15 23:47:24 +03:00
|
|
|
# Our additions...
|
|
|
|
# E501: line too long
|
2017-02-09 13:49:56 +03:00
|
|
|
# E129: visually indented line with same indent as next logical line
|
|
|
|
ignore = E121,E123,E126,E129,E226,E24,E704,W503,E501
|
2015-03-03 15:40:00 +03:00
|
|
|
max-line-length = 140
|
2015-01-16 19:30:57 +03:00
|
|
|
|
|
|
|
[flake8]
|
2017-01-23 19:00:52 +03:00
|
|
|
# flake8 is a combination of pyflakes & pycodestyle.
|
2015-02-15 23:54:17 +03:00
|
|
|
# Unfortunately we have to mostly duplicate the above, since some tools use
|
2017-01-23 19:00:52 +03:00
|
|
|
# pycodestyle's config (eg autopep8) so we can't just define everything under [flake8].
|
2017-02-27 16:06:27 +03:00
|
|
|
exclude = .git,__pycache__,.vagrant,node_modules
|
2017-01-23 19:00:52 +03:00
|
|
|
# The ignore list for pycodestyle above, plus our own PyFlakes additions:
|
2015-02-15 23:47:24 +03:00
|
|
|
# F403: 'from module import *' used; unable to detect undefined names
|
2017-01-23 19:00:52 +03:00
|
|
|
# F405: name may be undefined, or defined from star imports: module
|
2017-03-10 17:18:25 +03:00
|
|
|
ignore = E121,E123,E126,E129,E226,E24,E704,W503,E501,F403,F405
|
2015-03-03 15:40:00 +03:00
|
|
|
max-line-length = 140
|
2015-09-21 23:56:37 +03:00
|
|
|
|
|
|
|
[isort]
|
2017-01-23 19:10:28 +03:00
|
|
|
skip = .git,__pycache__,.vagrant,node_modules,migrations
|
2015-09-21 23:56:37 +03:00
|
|
|
multi_line_output = 1
|
|
|
|
force_grid_wrap = true
|
|
|
|
line_length = 140
|
|
|
|
# Remove when https://github.com/timothycrosley/isort/issues/297 fixed.
|
|
|
|
known_first_party = tests
|