-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
74 lines (66 loc) · 1.22 KB
/
pyproject.toml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[tool.poetry]
name = "Codebox"
version = "0.1.0"
description = ""
authors = ["André Felipe Dias <[email protected]>"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.dependencies]
fastapi = "*"
hypercorn = "*"
loguru = "*"
orjson = "*"
pydantic = "*"
python-dotenv = "*"
pygments = "*"
python = "^3.11"
stackprinter = "*"
uvloop = "*"
[tool.poetry.group.dev.dependencies]
asgi-lifespan = "*"
alt-pytest-asyncio = "*"
flaky = "*"
httpx = { version = "*", extras = ["cli"] }
mypy = "*"
pip-audit = "*"
pytest = "*"
pytest-cov = "*"
ruff = "*"
types-orjson = "*"
[tool.pytest.ini_options]
filterwarnings = ["ignore::DeprecationWarning"]
default_async_timeout = 600
[tool.mypy]
ignore_missing_imports = true
disallow_untyped_defs = true
plugins = ["pydantic.mypy"]
[tool.ruff]
line-length = 100
select = [
"ARG",
"B",
"C4",
"E",
"ERA",
"F",
"I",
"N",
"PLC",
"PLE",
"PLR",
"PLW",
"RET",
"S",
"T10",
"UP",
"W",
]
ignore = ["B008", "S603"]
target-version = "py311"
[tool.ruff.format]
quote-style = "single"
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
"tests/**" = ["ARG", "PLR2004", "S"]
"smoke_test.py" = ["S"]