Skip to content
Snippets Groups Projects
Unverified Commit 148f7156 authored by Alexandre Abadie's avatar Alexandre Abadie
Browse files

tools/compile_test_one_board: add tox.ini configuration file

tox.ini configures 3 checks on the python script: doctest (via pytest), pylint and flake8
parent 26a64694
No related branches found
No related tags found
No related merge requests found
# tox envs directory
.tox
[tox]
envlist = test,lint,flake8
skipsdist = True
[testenv]
basepython = python3
setenv =
script = compile_and_test_for_board.py
commands =
test: {[testenv:test]commands}
lint: {[testenv:lint]commands}
flake8: {[testenv:flake8]commands}
[testenv:test]
deps = pytest
commands =
pytest -v --doctest-modules {env:script}
[testenv:lint]
deps = pylint
commands =
pylint {env:script}
[testenv:flake8]
deps = flake8
commands =
flake8 {env:script}
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