summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2018-08-10 23:39:31 +0100
committerTristan Maat <tm@tlater.net>2019-01-02 17:59:41 +0100
commitbd60e8a91d7164d459f471d4ebbc952abad7c76b (patch)
tree4c98eedd55a28ad5c1dc53043e3a07c8f11e09c6 /setup.cfg
parent3b5c8a280dce392f06eb56a4aed5c3a7ff931388 (diff)
downloadbuildstream-bd60e8a91d7164d459f471d4ebbc952abad7c76b.tar.gz
Use pycodestyle instead of pep8
pep8 package was renamed to pycodestyle to reduce confusion. Disabled warnings: W504 - Line break after binary operator (seems people like this) W605 - Invalid escape sequence (some of our regexes use these)
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg17
1 files changed, 4 insertions, 13 deletions
diff --git a/setup.cfg b/setup.cfg
index 7d40c3d25..38f3193ca 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -11,20 +11,11 @@ parentdir_prefix = BuildStream-
test=pytest
[tool:pytest]
-addopts = --verbose --basetemp ./tmp --pep8 --pylint --pylint-rcfile=.pylintrc --cov=buildstream --cov-config .coveragerc --durations=20
+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
-pep8maxlinelength = 119
-pep8ignore =
- * E129
- * E125
- doc/source/conf.py ALL
- tmp/* ALL
- */lib/python3* ALL
- */bin/* ALL
- buildstream/_fuse/fuse.py ALL
- .eggs/* ALL
- *_pb2.py ALL
- *_pb2_grpc.py ALL
+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