diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2019-01-03 15:06:48 -0500 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2019-01-03 15:55:00 -0500 |
commit | 7850e4e291cb87e150cfbe29ad85e0b011974f38 (patch) | |
tree | 4b92d4da8ea63cad7f48f865a506a6c2cd535d64 | |
parent | 01c3761c3e51b61c77a78c354402764de1ad10e2 (diff) | |
download | buildstream-7850e4e291cb87e150cfbe29ad85e0b011974f38.tar.gz |
setup.cfg: Specify the pycodestyle configurations separately from pytest configuration
-rw-r--r-- | setup.cfg | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -14,8 +14,10 @@ test=pytest addopts = --verbose --basetemp ./tmp --codestyle --pylint --pylint-rcfile=.pylintrc --cov=buildstream --cov-config .coveragerc --durations=20 norecursedirs = tests/integration/project integration-cache tmp __pycache__ .eggs python_files = tests/*/*.py -codestyle_max_line_length = 119 -codestyle_ignore = E129 E125 W504 W605 -codestyle_exclude = doc/source/conf.py buildstream/_fuse/fuse.py buildstream/_protos/**/*py env = D:BST_TEST_SUITE=True + +[pycodestyle] +max-line-length = 119 +ignore = E129,E125,W504,W605 +exclude = .git/**,.tox/**,doc/source/conf.py,buildstream/_fuse/fuse.py,buildstream/_protos/**/*py |