-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
41 lines (36 loc) · 919 Bytes
/
pyproject.toml
File metadata and controls
41 lines (36 loc) · 919 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
32
33
34
35
36
37
38
39
40
41
[project]
name = "fastapi-sqlalchemy-alembic-async"
version = "0.1.0"
requires-python = ">=3.11"
dependencies = [
"fastapi>=0.115",
"uvicorn[standard]>=0.30",
"SQLAlchemy>=2.0",
"asyncpg>=0.29",
"psycopg[binary]>=3.2",
"alembic>=1.13",
"pydantic-settings>=2.5",
"python-dotenv>=1.0",
]
[tool.ruff]
line-length = 100
target-version = "py311"
lint.select = ["E", "F", "I", "UP", "B", "ASYNC", "RUF", "ANN"]
lint.ignore = ["ANN001", "ANN201", "ANN202", "E402", "E501"]
exclude = [".venv", ".git", "alembic/versions"]
[tool.ruff.lint.isort]
known-first-party = ["app"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.mypy]
python_version = "3.11"
strict = true
ignore_missing_imports = true
warn_unused_ignores = true
plugins = []
[tool.pytest.ini_options]
addopts = "-q"
pythonpath = ["app"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"