forked from sukiyaki/octodns-netbox
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
44 lines (40 loc) · 808 Bytes
/
tox.ini
File metadata and controls
44 lines (40 loc) · 808 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
41
42
43
44
[tox]
isolated_build = true
envlist =
py310, py311, py312, py313, py314
lint, packaging
[gh-actions]
python =
3.14: py314, lint, packaging
3.13: py313
3.12: py312
3.11: py311
3.10: py310
[testenv]
setenv =
PYTHONIOENCODING=utf-8
PY_COLORS=1
passenv = CI
skip_install = true
allowlist_externals =
poetry
commands_pre =
poetry self update
poetry install --with dev -v
commands =
poetry run pytest --cov=octodns_netbox --cov-report=xml --cov-report term-missing []
[testenv:packaging]
skip_install = True
deps =
poetry
twine
commands =
poetry build
twine check dist/*
[testenv:lint]
skip_install = True
passenv = TERM
deps = pre-commit
commands_pre =
commands =
pre-commit run [] --all-files --show-diff-on-failure --hook-stage=manual