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 14:29:19 +0100
commit0b972bf3bb5f71e4f880e902ef0f5dc2db800d61 (patch)
tree79361b8e214f694ceb34b944e064eb7d3a4845f9 /setup.cfg
parent5dc15c78a1f3475d45d46d5977e669961c4839a4 (diff)
downloadbuildstream-jjardon/pycodestyle.tar.gz
Use pycodestyle instead of pep8jjardon/pycodestyle
pep8 package was renamed to pycodestyle to reduce confusion.
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..b46da78d4 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
+codestyle_exclude = doc/source/conf.py buildstream/_fuse/fuse.py buildstream/_protos/**/*py
env =
D:BST_TEST_SUITE=True