Commit 9cb30d35 authored by James Ennis's avatar James Ennis

Make pylint and pep8 tests run by default

parent 47ec4f52
Pipeline #19013361 passed with stages
in 7 minutes and 57 seconds
......@@ -64,13 +64,6 @@ source_dist:
# Test stage #
#####################################################
linting:
stage: test
variables:
PYTEST_ADDOPTS: "--color=yes"
script:
- python3 setup.py test --addopts '--no-cov --pylint --pep8 -m "pep8 or pylint"'
# Run premerge commits
#
linux-tests:
......
......@@ -2,7 +2,7 @@
test=pytest
[tool:pytest]
addopts = --verbose --basetemp ./tmp --pylint-rcfile=.pylintrc --cov=buildstream --cov-config .coveragerc
addopts = --verbose --basetemp ./tmp --pep8 --pylint --pylint-rcfile=.pylintrc --cov=buildstream --cov-config .coveragerc
norecursedirs = integration-cache tmp __pycache__ .eggs
python_files = tests/*/*.py
pep8maxlinelength = 119
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment