-
-
Notifications
You must be signed in to change notification settings - Fork 506
Expand file tree
/
Copy pathtox.ini
More file actions
26 lines (24 loc) · 548 Bytes
/
tox.ini
File metadata and controls
26 lines (24 loc) · 548 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]
envlist = py{38,39,310,311}-locale-{c,utf8}-poller-{poll,select},lint
isolated_build = True
[testenv]
allowlist_externals = poetry
setenv =
locale-c: LANG=C
locale-utf8: LANG=en_US.UTF-8
poller-select: SH_TESTS_USE_SELECT=1
poller-poll: SH_TESTS_USE_SELECT=0
SH_TESTS_RUNNING=1
commands =
python sh_test.py {posargs}
[testenv:lint]
allowlist_externals =
flake8
black
rstcheck
mypy
commands =
flake8 sh.py sh_test.py
black --check --diff sh.py sh_test.py
rstcheck README.rst
mypy sh.py