-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtox.ini
More file actions
46 lines (41 loc) · 768 Bytes
/
tox.ini
File metadata and controls
46 lines (41 loc) · 768 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
45
46
[tox]
envlist = format,mypy,py312,py313,py314,pep8,package
isolated_build = True
[testenv]
deps =
pytest
pytest-cov
pytest-sugar
commands = pytest --cov=sql_tstring {posargs}
passenv = DATABASE_URL
[testenv:format]
basepython = python3.14
deps =
black
isort
commands =
black --check --diff src/sql_tstring/ tests/
isort --check --diff src/sql_tstring/ tests/
[testenv:pep8]
basepython = python3.14
deps =
flake8
flake8-bugbear
flake8-print
pep8-naming
commands = flake8 src/sql_tstring/ tests/
[testenv:mypy]
basepython = python3.14
deps =
mypy
pytest
commands =
mypy src/sql_tstring/ tests/
[testenv:package]
basepython = python3.14
deps =
pdm
twine
commands =
pdm build
twine check dist/*