-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathtox.ini
More file actions
38 lines (29 loc) · 666 Bytes
/
tox.ini
File metadata and controls
38 lines (29 loc) · 666 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
[tox]
envlist = py312, py313, py314, lint, mypy
[travis]
python =
3.12: py312
3.13: py313
3.14: py314
[testenv:lint]
description = lint source code
deps =
ruff
commands =
ruff check yacron
ruff format --check yacron
[testenv:mypy]
basepython=python3
deps=
mypy
types-pytz
commands=mypy -p yacron --ignore-missing-imports
[testenv]
deps = -rrequirements_dev.txt
setenv =
PYTHONPATH = {toxinidir}
commands = pytest --color=yes -vv
; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following lines:
; deps =
; -r{toxinidir}/requirements.txt