-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
50 lines (46 loc) · 1.2 KB
/
pyproject.toml
File metadata and controls
50 lines (46 loc) · 1.2 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
[project]
name = "fastapi-randomizer"
version = "0.1.0"
requires-python = ">=3.13.8"
dependencies = [
"alembic>=1.17.2",
"boto3>=1.42.8",
"fastapi[standard]>=0.121.2",
"httpx>=0.28.1",
"psycopg2-binary>=2.9.11",
"pwdlib[argon2]>=0.3.0",
"pyjwt[crypto]>=2.10.1",
"python-dotenv>=1.2.1",
"python-jose[cryptography]>=3.5.0",
"requests>=2.32.5",
"sqlmodel>=0.0.27",
]
[dependency-groups]
dev = [
"pytest>=9.0.2",
"ruff>=0.14.5",
]
[tool.ruff]
target-version = "py313"
exclude = ["alembic"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"ARG001", # unused arguments in functions
"T201", # print statements are not allowed
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"W191", # indentation contains tabs
"B904", # Allow raising exceptions without from e, for HTTPException
]
[tool.ruff.lint.pyupgrade]
# Preserve types, even if a file imports `from __future__ import annotations`.
keep-runtime-typing = true