-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
83 lines (74 loc) · 1.61 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[tool.black]
target-version = ["py312"]
[tool.isort]
profile = "black"
skip_glob = "*/migrations/*"
known_django = "django"
known_fastapi = "fastapi"
known_local_folder = "agents,backend,config"
sections = "FUTURE,STDLIB,FIRSTPARTY,THIRDPARTY,DJANGO,FASTAPI,LOCALFOLDER"
[tool.autoflake]
in-place = true
quiet = true
recursive = true
remove-all-unused-imports = true
[tool.ruff]
target-version = "py312"
[tool.poetry]
name = "cph24"
version = "0.1.0"
description = "Package supporting talk."
authors = [
"Joseph V. Zammit <[email protected]>",
]
readme = "README.md"
[tool.poetry.dependencies]
python = "~3.12"
django = "^5.1.1"
arrow = "^1.3.0"
pydantic = "^2.9.2"
django-environ = "^0.11.2"
pydantic-settings = "^2.5.2"
fastapi = "^0.115.0"
[tool.poetry.group.dev.dependencies]
ruff = "^0.6.7"
factory-boy = "^3.3.1"
pre-commit = "^3.8.0"
black = "^24.8.0"
isort = "^5.13.2"
autoflake = "^2.3.1"
coverage = "^7.6.1"
mypy = "^1.11.2"
nox = "^2024.4.15"
fastapi-cli = "^0.0.5"
pytest-django = "^4.9.0"
django-extensions = "^3.2.3"
pytest-asyncio = "^0.24.0"
ipdb = "^0.13.13"
httpx = "^0.27.2"
[tool.mypy]
python_version = "3.12"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
warn_unused_ignores = true
warn_unreachable = true
plugins = [
"pydantic.mypy"
]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = [
"*.tests.*"
]
disallow_untyped_defs = false
[[tool.mypy.overrides]]
module = [
"*.migrations.*",
]
ignore_errors = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
python_classes = "*Tests"
addopts = "--no-migrations"
asyncio_default_fixture_loop_scope = "function"