Commit 7850e4e2 authored by Tristan Van Berkom's avatar Tristan Van Berkom
Browse files

setup.cfg: Specify the pycodestyle configurations separately from pytest configuration

parent 01c3761c
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -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