Skip to content
Snippets Groups Projects
Commit f25a87ed authored by Corné Lukken's avatar Corné Lukken
Browse files

Allow linting failure and limit linting scope

parent 08296e5f
No related branches found
No related tags found
1 merge request!58L2SS-259: Integrate unit tests using Continuous Integration (CI)
...@@ -13,6 +13,7 @@ stages: ...@@ -13,6 +13,7 @@ stages:
- unit-tests - unit-tests
linting: linting:
stage: linting stage: linting
allow_failure: true
script: script:
- tox -e pep8 - tox -e pep8
unit_test: unit_test:
......
...@@ -18,5 +18,5 @@ commands = stestr run {posargs} ...@@ -18,5 +18,5 @@ commands = stestr run {posargs}
[testenv:pep8] [testenv:pep8]
commands = commands =
; doc8 doc/source/ README.rst ; doc8 doc/source/ README.rst
flake8 {posargs} flake8 devices/{posargs}
bandit -r devices -x test -n5 -ll # -s B320 bandit -r devices -x test -n5 -ll # -s B320
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment