forked from palantir/gotham-platform-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
31 lines (29 loc) · 645 Bytes
/
tox.ini
File metadata and controls
31 lines (29 loc) · 645 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
[tox]
isolated_build = true
envlist = py{39,310,311,312}, pylint, mypy, black
[testenv]
setenv =
PYTHONPATH = {toxinidir}
deps =
pydantic=={env:PYDANTIC_VERSION}
httpx=={env:HTTPX_VERSION}
pyright
click
annotated-types>=0.7.0,<1.0.0
typing-extensions>=4.7.1,<5.0.0
expects>=0.9.0
mockito>=1.5.1
pytest>=7.4.0
pytest-asyncio>=0.23.0
uvicorn>=0.34.0
fastapi>=0.115.6
allowlist_externals = poetry
commands =
poetry run pytest --tb=short tests/
pyright gotham/
passenv = PYDANTIC_VERSION,HTTPX_VERSION
[testenv:black]
deps =
black == 24.1.1
commands =
black --check gotham tests