-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
51 lines (44 loc) · 960 Bytes
/
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
[project]
name = "pulse-backend"
version = "0.1.0"
requires-python = ">=3.12"
dependencies = [
"litestar[pydantic,jwt,sqlalchemy,standard]",
"asyncpg",
"bcrypt",
]
[tool.pdm.dev-dependencies]
lint = [
"ruff",
"mypy",
"types-python-jose",
]
test = [
"pytest",
"pytest-asyncio",
]
[tool.ruff]
target-version = "py312"
line-length = 120
[tool.ruff.lint]
select = ["ALL"]
ignore = [
# Ruff Formatter compatibility
"W191", "E111", "E114", "E117", "D206", "D300", "Q000", "Q001", "Q002", "Q003", "COM812", "COM819", "ISC001", "ISC002",
# Allow missing docstrings
"D1",
# Conflicts
"D203", "D213",
# Other
"TD002", "TD003", "FIX002", "EM101", "TRY003"
]
[tool.ruff.lint.isort]
known-first-party = ["pulse_backend"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101"]
[tool.mypy]
python_version = "3.12"
strict = true
plugins = ["pydantic.mypy"]
[tool.pytest.ini_options]
asyncio_mode = "auto"