-
Notifications
You must be signed in to change notification settings - Fork 17
/
pyproject.toml
110 lines (97 loc) · 2.21 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[tool.poetry]
name = "ayon-server"
version = "1.5.7"
description = ""
authors = ["Ynput <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.10"
aiocache = "^0.12.2"
aiofiles = "^23.2.1"
aioshutil = "^1.3"
asyncpg = "^0.29.0"
boto3 = "^1.35.22"
codenamize = "^1.2.3"
cryptography = "^42.0.5"
email-validator = "^1.1.3"
fastapi = "^0.110"
geoip2 = "^4.8.0"
granian = "^1.1.1"
gunicorn = "^21.2"
httpx = "^0.26"
nxtools = "^1.6"
orjson = "^3.8.6"
pillow = "^10.3.0"
psutil = "^5.9.4"
pydantic = "1.10.18" # 1.10.18 is the last 1.x version
pyjwt = "^2.8.0"
pyyaml = "^6.0.1"
redis = "^5.0.1"
rich = "^13.4.2"
semver = "^3.0.1"
shortuuid = "^1.0.11"
strawberry-graphql = {extras = ["fastapi"], version = "^0.217.0"}
toml = "^0.10.2"
typer = "^0.12.5"
user-agents = "^2.2.0"
uvicorn = {extras = ["standard"], version = "^0.25"}
[tool.poetry.group.dev.dependencies]
asyncpg-stubs = "^0.29.1"
mypy = "^1.11"
pre-commit = "^2.20.0"
pytest = "^7.0.0"
pytest-order = "^1.0.1"
ruff = "^0.6.8"
types-aiofiles = "^23.2.0.20240403"
types-psutil = "^5.9.5.20240516"
types-pyyaml = "^6.0.12.20240311"
types-toml = "^0.10.8"
types-boto3 = "^1.0.2"
[tool.ruff]
fix = true
line-length = 88
[tool.ruff.format]
indent-style = "space"
line-ending = "auto"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"ISC", # flake8-implicit-str-concat
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"ISC001", # incompatible with formatting
"E721", # do not compare types, i'll fix this later :)
"C901", # too complex. C'mon - this is a complex project
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
plugins = [
"pydantic.mypy"
]
check_untyped_defs = true
disallow_any_generics = true
exclude = "tests/|venv/"
explicit_package_bases = true
no_implicit_reexport = true
strict_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
# follow_imports = "silent"
# strict = true
# disallow_untyped_defs = false
[[tool.mypy.overrides]]
module = [
"nxtools",
"user_agents",
"tomllib",
"codenamize",
"aiocache"
]
ignore_missing_imports = true