Files
notifications-api/setup.cfg
Chris Hill-Scott c2999ed5ad Use pycodestyle instead of PEP8
PEP8 was renamed to pycodestyle; this issue explains why:
https://github.com/PyCQA/pycodestyle/issues/466

This commit changes our tests to use pycodestyle instead of pep8.

It also means:
- making a couple of whitespace changes to appease the linter
- disabling warnings for bare `Except`s (ie `Except` instead of `Except
  ValueError`) – this seems like a sensible thing to catch but I’m not
  going to make meaningful code changes in this commit
2017-02-01 09:19:32 +00:00

5 lines
110 B
INI

[pycodestyle]
max-line-length = 120
ignore = E402, E722
exclude = ./migrations,./venv,./venv3,./build,./cache