-
Notifications
You must be signed in to change notification settings - Fork 115
Expand file tree
/
Copy pathtox.ini
More file actions
40 lines (36 loc) · 763 Bytes
/
tox.ini
File metadata and controls
40 lines (36 loc) · 763 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# The test environment and commands
[tox]
# default environments to run without `-e`
envlist = py39, py310, py311, py312, py313, pep8_naming, mypy
[gh-actions]
python =
3.10: py310
3.11: py311,pep8_naming
3.12: py312
3.13: py313,mypy
3.14: py314
[testenv]
description = Run coverage
deps =
coverage
hypothesis
hypothesmith
pytest
commands =
coverage run -m pytest tests/test_bugbear.py {posargs}
coverage report -m
[testenv:pep8_naming]
deps =
coverage
hypothesis
hypothesmith
pytest
pep8-naming
commands =
coverage run -m pytest tests/test_bugbear.py -k b902 {posargs}
coverage report -m
[testenv:{py310-,py311-,py312-,py313-,py314-}mypy]
deps =
mypy
commands =
mypy bugbear.py