forked from cisagov/eleVADR
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
63 lines (55 loc) · 1.31 KB
/
Copy pathpyproject.toml
File metadata and controls
63 lines (55 loc) · 1.31 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
[project]
name = "Elevadr-Backend"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.14"
dependencies = [
"fastapi==0.136.3 ; python_full_version >= '3.10'",
"numpy>=2.3.5",
"pandas==3.0.3 ; python_full_version >= '3.11'",
"uvicorn[standard]>=0.46.0",
"zat>=0.4.9",
]
[dependency-groups]
dev = [
"deptry>=0.25.1",
"httpx>=0.28.1",
"pre-commit>=4.6.0",
"pyarrow>=24.0.0",
"pytest>=9.0.3",
"pytest-asyncio>=1.3.0",
"pytest-mock>=3.15.1",
"python-multipart>=0.0.27",
]
[tool.deptry.per_rule_ignores]
DEP001 = ["app"]
DEP002 = ["uvicorn"]
[tool.elevadr]
image_name = "cisagov/elevadr-web-backend"
platforms = [
"linux/amd64",
"linux/arm64",
]
[tool.ruff]
line-length = 88
target-version = "py314"
extend-exclude = ["tests"]
[tool.ruff.lint]
# E = pycodestyle, F = Pyflakes, I = isort, B = flake8-bugbear,
# UP = pyupgrade, N = pep8-naming, D = pydocstyle
select = ["E", "F", "I", "B", "UP", "N", "D"]
ignore = ["E203", "E501"]
[tool.ruff.format]
# This replaces Black
quote-style = "double"
indent-style = "space"
[tool.mypy]
# Move your mypy settings here
python_version = "3.14"
strict = true
ignore_missing_imports = true
exclude = ["tests/", "src/app/data/"]
[tool.codespell]
skip = "*.json,*.csv"
ignore-words-list = "OT"