summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2019-01-03 15:06:48 -0500
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2019-01-03 15:55:00 -0500
commit7850e4e291cb87e150cfbe29ad85e0b011974f38 (patch)
tree4b92d4da8ea63cad7f48f865a506a6c2cd535d64
parent01c3761c3e51b61c77a78c354402764de1ad10e2 (diff)
downloadbuildstream-7850e4e291cb87e150cfbe29ad85e0b011974f38.tar.gz
setup.cfg: Specify the pycodestyle configurations separately from pytest configuration
-rw-r--r--setup.cfg8
1 files changed, 5 insertions, 3 deletions
diff --git a/setup.cfg b/setup.cfg
index 38f3193ca..bc75936d4 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -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