-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
37 lines (34 loc) · 732 Bytes
/
tox.ini
File metadata and controls
37 lines (34 loc) · 732 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
[tox]
isolated_build = true
envlist = py38, py39, py310, lint
[gh-actions]
python =
3.10: py310
3.9: py39
3.8: py38
[testenv:lint]
extras =
dev
doc
deps =
poetry
commands =
poetry run isort filez-python-sdk
poetry run black filez-python-sdk tests
poetry run flake8 filez-python-sdk
poetry build
poetry run mkdocs build
poetry run twine check dist/*
commands_pre = poetry install --with dev,doc
[testenv]
passenv = *
setenv =
PYTHONPATH = {toxinidir}
PYTHONWARNINGS = ignore
deps =
poetry
extras =
test
commands =
poetry run pytest -s --cov=filez-python-sdk --cov-append --cov-report=xml --cov-report term-missing tests
commands_pre = poetry install --with test