forked from tizz98/clerk-sdk-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
27 lines (23 loc) · 631 Bytes
/
tox.ini
File metadata and controls
27 lines (23 loc) · 631 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
[tox]
isolated_build = True
skipsdist = True
envlist = py3.9,py3.8
requires =
tox-poetry-dev-dependencies
[tox:.package]
# note tox will use the same python version as under what tox is installed to package
# so unless this is python 3 you can require a given python version for the packaging
# environment via the basepython key
basepython =
py3.9: python3.9
py3.8: python3.8
[testenv:isort-check]
commands = isort -c --diff clerk/ tests/
[testenv:black-check]
commands = black --check clerk/ tests/
[testenv]
setenv =
PYTHONHASHSEED = 1
deps = .
commands = pytest {posargs}
poetry_add_dev_dependencies = True