-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathtox.ini
More file actions
26 lines (23 loc) · 669 Bytes
/
Copy pathtox.ini
File metadata and controls
26 lines (23 loc) · 669 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[tox]
project = gibberish-detector
envlist = pre-commit,py36,py37,py38,py39,mypy
skipsdist = true
skip_missing_interpreters = true
[testenv]
passenv = SSH_AUTH_SOCK
deps = -r requirements-dev.txt
commands =
coverage erase
coverage run -m pytest {posargs:tests}
coverage report --show-missing --include=tests/* --fail-under 100
coverage report --show-missing --include=gibberish_detector/* --fail-under 95
mypy gibberish_detector
[testenv:pre-commit]
basepython = python3.6
deps = pre-commit >= 2.8.2
commands = pre-commit run --all-files
[testenv:mypy]
passenv = SSH_AUTH_SOCK
deps = -rrequirements-dev.txt
commands =
mypy gibberish_detector