[pycodestyle] exclude = .git,__pycache__,.vagrant,node_modules,tests/jenkins # E121,E123,E126,E226,E24,E704,W503: Ignored in default pycodestyle config: # https://github.com/PyCQA/pycodestyle/blob/2.2.0/pycodestyle.py#L72 # Our additions... # E501: line too long # E129: visually indented line with same indent as next logical line ignore = E121,E123,E126,E129,E226,E24,E704,W503,E501 max-line-length = 140 [flake8] # flake8 is a combination of pyflakes & pycodestyle. # Unfortunately we have to mostly duplicate the above, since some tools use # pycodestyle's config (eg autopep8) so we can't just define everything under [flake8]. exclude = .git,__pycache__,.vagrant,node_modules,tests/jenkins # The ignore list for pycodestyle above, plus our own PyFlakes additions: # F403: 'from module import *' used; unable to detect undefined names # F405: name may be undefined, or defined from star imports: module ignore = E121,E123,E126,E129,E226,E24,E704,W503,E501,F403,F405 max-line-length = 140 [isort] skip = .git,__pycache__,.vagrant,node_modules,migrations,tests/jenkins 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 [tool:pytest] testpaths = tests norecursedirs = __pycache__ jenkins ui DJANGO_SETTINGS_MODULE=tests.settings # Disable unused auto-loaded plugins. addopts = --driver Firefox -p no:mozlog -p no:metadata -p no:html markers = slow: mark a test as slow. xfail_strict = true sensitive_url = mozilla\.org