-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
70 lines (60 loc) · 1.28 KB
/
Copy pathpyproject.toml
File metadata and controls
70 lines (60 loc) · 1.28 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[project]
name = "Azulweb"
version = "0.0.1"
requires-python = ">=3.12"
dependencies = [
"azulero @ git+https://github.com/kabasset/azulero.git@develop",
"eummy>=1.3.2",
"fastapi>=0.135.1",
"pillow>=12.1.1",
"python-multipart>=0.0.22",
"types-pyyaml>=6.0.12.20260408",
"uvicorn>=0.42.0",
"websockets>=16.0",
]
[dependency-groups]
dev = [
"httpx>=0.28.1",
"pytest>=9.0.3",
"pytest-asyncio>=1.3.0",
"pytest-cov>=7.1.0",
"ruff",
"mypy",
"pre-commit",
]
# ----------- RUFF -------------
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = [
"E", # erreurs Python
"F", # bugs probables
"I", # imports triés
"UP", # modernisation Python
]
ignore = []
[tool.ruff.format]
quote-style = "double"
# ----------- MYPY -----------
[tool.mypy]
ignore_missing_imports = true
disallow_untyped_decorators = false
allow_untyped_globals = true
follow_imports = "silent"
[[tool.mypy.overrides]]
module = "pydantic"
ignore_errors = true
# ----------- PYTEST ---------
[tool.pytest.ini_options]
addopts = "--cov=. --cov-report=term-missing --cov-report=xml"
testpaths = ["tests"]
asyncio_mode = "auto"
[tool.coverage.run]
source = ["."]
omit = [
"tests/*",
"frontend/*",
"venv/*",
".venv/*",
]