-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
64 lines (57 loc) · 1.48 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
[tool.poetry]
name = "innohassle-rooms"
version = "0.1.0"
description = "A service for task management in rooms"
authors = ["Maxim Fomin <[email protected]>"]
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = "^3.12"
alembic = "^1.13.3"
asyncpg = "^0"
black = "24.10.0"
fastapi = "^0"
httpx = "^0"
pre-commit = "^4.0.1"
psycopg = {extras = ["binary", "pool"], version = "^3.2.3"}
pydantic = "^2.7.1"
pydantic-settings = "^2.0.3"
pytest = "^8.3.3"
pytest-asyncio = "^0.24.0"
python-jose = {extras = ["cryptography"], version = "^3.3.0"}
ruff = "^0.6.9"
sqlalchemy = {extras = ["asyncio"], version = "^2.0.30"}
sqlmodel = "^0"
uvicorn = "^0"
wheel = "^0"
[tool.pytest.ini_options]
pythonpath = "."
testpaths = "tests"
addopts = [
"--strict-config",
"--strict-markers",
]
[tool.black]
line-length = 120
[tool.ruff]
line-length = 120
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.coverage.report]
exclude_also = [
# Don't complain about missing debug-only code:
"def __repr__",
"if enabled:",
# Don't complain if tests don't hit defensive assertion code:
"raise AssertionError",
"raise NotImplementedError",
# Don't complain if non-runnable code isn't run:
"if 0:",
"if __name__ == .__main__.:",
# Don't complain about abstract methods, they aren't run:
"@(abc\\.)?abstractmethod",
# Don't complain about TYPE_CHECKING imports:
"if TYPE_CHECKING:",
]
ignore_errors = true