mirror of
https://github.com/enpaul/keyosk.git
synced 2024-11-24 15:37:06 +00:00
Add placeholder test
This commit is contained in:
parent
7da27c3f57
commit
48b356eda2
2
tests/test_nothing.py
Normal file
2
tests/test_nothing.py
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
def test_nothing():
|
||||||
|
pass
|
8
tox.ini
8
tox.ini
@ -7,7 +7,7 @@ description = Run the unit tests (pytest)
|
|||||||
deps =
|
deps =
|
||||||
pytest
|
pytest
|
||||||
pytest-cov
|
pytest-cov
|
||||||
commands =
|
commands =
|
||||||
pytest --cov={envsitepackagesdir}/keyosk --cov-config {env:HOME}/.coveragerc tests/ --cov-report term-missing
|
pytest --cov={envsitepackagesdir}/keyosk --cov-config {env:HOME}/.coveragerc tests/ --cov-report term-missing
|
||||||
|
|
||||||
[testenv:lint]
|
[testenv:lint]
|
||||||
@ -22,14 +22,14 @@ commands =
|
|||||||
|
|
||||||
[testenv:typing]
|
[testenv:typing]
|
||||||
description = Check type annotations with mypy
|
description = Check type annotations with mypy
|
||||||
deps =
|
deps =
|
||||||
mypy
|
mypy
|
||||||
commands =
|
commands =
|
||||||
mypy keyosk --ignore-missing-imports --no-strict-optional
|
mypy keyosk --ignore-missing-imports --no-strict-optional
|
||||||
|
|
||||||
[testenv:security]
|
[testenv:security]
|
||||||
description = Check security vulnerabilities (bandit)
|
description = Check security vulnerabilities (bandit)
|
||||||
deps =
|
deps =
|
||||||
bandit
|
bandit
|
||||||
commands =
|
commands =
|
||||||
bandit --recursive keyosk
|
bandit --recursive keyosk
|
||||||
|
Loading…
Reference in New Issue
Block a user