Enable check suite in favor of travis-ci QA runs

This commit is contained in:
Johannes Hoppe 2019-03-26 08:15:50 +01:00
parent f887ad5821
commit b754256413
4 changed files with 6 additions and 18 deletions

2
.checks.yml Normal file
View file

@ -0,0 +1,2 @@
- bandit
- flake8

View file

@ -3,10 +3,6 @@ sudo: false
cache: pip
matrix:
include:
- env: TOXENV=flake8-py27
python: 2.7
- env: TOXENV=flake8-py36
python: 3.6
- env: TOXENV=readme-py27
python: 2.7
- env: TOXENV=py27-dj111-coverage

View file

@ -7,3 +7,7 @@ branch = 1
parallel = 1
[coverage:report]
include = configurations/*,tests/*
[flake8]
exclude = .tox,docs/*
ignore = E501,E127,E128,E124,W503

14
tox.ini
View file

@ -4,8 +4,6 @@ usedevelop = true
minversion = 1.8
whitelist_externals = sphinx-build
envlist =
flake8-py27,
flake8-py36,
readme-py27,
py{27,34,35,36,py}-dj{18,110,111}
py{34,35,36,37}-dj20
@ -38,15 +36,3 @@ commands =
[testenv:readme-py27]
commands = python setup.py check -r -s
deps = readme_renderer
[testenv:flake8-py27]
commands = flake8 configurations tests
deps = flake8
[testenv:flake8-py36]
commands = flake8 configurations tests
deps = flake8
[flake8]
exclude = .tox
ignore = E501,E127,E128,E124,W503