-
Notifications
You must be signed in to change notification settings - Fork 104
/
tox.ini
39 lines (35 loc) · 715 Bytes
/
tox.ini
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
# The test environment and commands
[tox]
# default environments to run without `-e`
envlist = py38, py39, py310, py311, py312, py313, pep8_naming, mypy
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311,pep8_naming
3.12: py312,mypy
3.13-dev: py313
[testenv]
description = Run coverage
deps =
coverage
hypothesis
hypothesmith
commands =
coverage run tests/test_bugbear.py {posargs}
coverage report -m
[testenv:pep8_naming]
deps =
coverage
hypothesis
hypothesmith
pep8-naming
commands =
coverage run tests/test_bugbear.py -k b902 {posargs}
coverage report -m
[testenv:mypy]
deps =
mypy==1.10.1
commands =
mypy bugbear.py