-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (66 loc) · 1.66 KB
/
pyproject.toml
File metadata and controls
79 lines (66 loc) · 1.66 KB
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
# Ruff
[tool.ruff]
ignore = [
"E402", # module level import not at top of file
"F541", # f-string is missing placeholders
]
line-length = 100
[tool.ruff.format]
quote-style = "single"
# Black
[tool.black]
skip-string-normalization = true
line-length = 100
# pytest
[tool.pytest.ini_options]
# We add this so that pytest imports use the same import paths as the rest of the code. Without
# this, we will for example get multiple SQLAlchemy table registration bases, one under each import
# path.
pythonpath = ["webapp"]
filterwarnings = [
# Treat all warnings as errors.
"error",
# Ignore specific warnings.
"ignore::DeprecationWarning",
"ignore::sqlalchemy.exc.SAWarning",
"ignore:function ham\\(\\) is deprecated:DeprecationWarning"]
asyncio_default_fixture_loop_scope = "session"
addopts = [
# "-p no:warnings"
'--capture=no',
]
[tool.pixi.workspace]
name = "drop"
channels = ["conda-forge"]
platforms = ["linux-64", "linux-aarch64"]
[tool.pixi.dependencies]
python = ">=3.14.3,<3.15"
# Web framework
fastapi = ">=0.135.1,<0.136"
uvicorn = ">=0.42.0,<0.43"
gunicorn = ">=25.1.0,<26"
python-multipart = ">=0.0.22,<0.0.23"
# Database
sqlalchemy = ">=2.0.48,<3"
psycopg = ">=3.3.3,<4"
# AWS
boto3 = ">=1.42.70,<2"
# Crypto / auth
cryptography = ">=46.0.5,<47"
pyjwt = ">=2.12.1,<3"
pycryptodome = ">=3.23.0,<4"
pynacl = ">=1.6.2,<2"
# Utilities
daiquiri = ">=3.0.0,<4"
pendulum = ">=3.2.0,<4"
pillow = ">=12.1.1,<13"
filelock = ">=3.25.2,<4"
click = ">=8.3.1,<9"
httpx = ">=0.28.1,<0.29"
lxml = ">=6.0.2,<7"
# Testing
pytest = ">=9.0.2,<10"
pytest-asyncio = ">=1.3.0,<2"
moto = ">=5.1.22,<6"
[tool.pixi.tasks]
freeze = "pip freeze > requirements.txt"