xonsh/setup.cfg
2018-07-21 22:19:25 +02:00

49 lines
1.4 KiB
INI

[tool:pytest]
flake8-max-line-length = 180
flake8-ignore =
*.py E122
*.py E402
tests/tools.py E128
xonsh/pygments_cache.py ALL
# flake8 gives incorrect unused import errors, F401
xonsh/ast.py F401
xonsh/platform.py F401
xonsh/built_ins.py F821 E721
xonsh/commands_cache.py F841
xonsh/history.py F821
xonsh/pyghooks.py F821
xonsh/style_tools.py F821
xonsh/readline_shell.py F401
xonsh/timings.py F401
xonsh/tokenize.py F821 F841
xonsh/tools.py E731
xonsh/xonfig.py E731
xonsh/proc.py E261 E265
xonsh/ptk/key_bindings.py F841
xonsh/ptk/shell.py E731
xontrib/vox.py F821
__amalgam__.py ALL
# test files should be PEP8 but a ton of errors for now
test_*.py ALL
# we don't care about sphinx autogenerated files
docs/*.py ALL
# we don't care about ply files?
ply/*.py ALL
# these run VERY slowly and give tons of errors
parser*_table.py ALL
# oh come on
setup.py ALL
# remove these later
*.py E741 # ambiguous variable name
xonsh/color_tools.py E305
xonsh/inspectors.py E722
xonsh/lexer.py E741
xonsh/platform.py E305
xonsh/style_tools.py E305
xonsh/tools.py E305
xonsh/winutils.py E305
xonsh/completers/_aliases.py E305
xonsh/completers/python.py E722
xonsh/parsers/context_check.py E305
xonsh/xoreutils/*.py E722 E305