summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Ennis <james.ennis@codethink.com>2018-03-16 11:44:11 +0000
committerJames Ennis <james.ennis@codethink.com>2018-03-16 11:44:45 +0000
commit9cb30d354f9886a54bef2dbe5c78ef6b21c6a202 (patch)
tree2c5421f41b15db54242e13addf1038b5dde4b8a1
parent47ec4f5259a7eae97d8458bd51fb0507b2f4c39b (diff)
downloadbuildstream-9cb30d354f9886a54bef2dbe5c78ef6b21c6a202.tar.gz
Make pylint and pep8 tests run by defaultjennis/add_gi.repository_to_ignored_pylint_modules
-rw-r--r--.gitlab-ci.yml7
-rw-r--r--setup.cfg2
2 files changed, 1 insertions, 8 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2244de3d7..26e4f2227 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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:
diff --git a/setup.cfg b/setup.cfg
index 4540ae9f3..e88c48572 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -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