mirror of
https://github.com/enpaul/keyosk.git
synced 2024-11-05 06:07: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 =
|
||||
pytest
|
||||
pytest-cov
|
||||
commands =
|
||||
commands =
|
||||
pytest --cov={envsitepackagesdir}/keyosk --cov-config {env:HOME}/.coveragerc tests/ --cov-report term-missing
|
||||
|
||||
[testenv:lint]
|
||||
@ -22,14 +22,14 @@ commands =
|
||||
|
||||
[testenv:typing]
|
||||
description = Check type annotations with mypy
|
||||
deps =
|
||||
deps =
|
||||
mypy
|
||||
commands =
|
||||
commands =
|
||||
mypy keyosk --ignore-missing-imports --no-strict-optional
|
||||
|
||||
[testenv:security]
|
||||
description = Check security vulnerabilities (bandit)
|
||||
deps =
|
||||
deps =
|
||||
bandit
|
||||
commands =
|
||||
bandit --recursive keyosk
|
||||
|
Loading…
Reference in New Issue
Block a user