-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (50 loc) · 1.17 KB
/
Copy pathpyproject.toml
File metadata and controls
58 lines (50 loc) · 1.17 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
[build-system]
requires = ["setuptools>=61"]
build-backend = "setuptools.build_meta"
[project]
name = "adctf"
version = "0.1.0"
description = "Attack-Defense CTF services catalog — backend (DB layer + skeleton)"
requires-python = ">=3.11"
dependencies = [
"fastapi>=0.111",
"uvicorn[standard]>=0.30",
"sqlalchemy[asyncio]>=2.0.30",
"asyncpg>=0.29",
"pydantic>=2.7",
"pydantic-settings>=2.3",
"email-validator>=2.1",
"alembic>=1.13",
"aiofiles>=23.2",
"python-multipart>=0.0.9",
"bcrypt>=4.1",
"pyjwt>=2.8",
]
[project.optional-dependencies]
dev = [
"ruff>=0.5",
"mypy>=1.10",
"types-aiofiles>=23.2",
]
security = [
"bandit[toml]>=1.7",
"pip-audit>=2.7",
]
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff]
line-length = 100
target-version = "py311"
src = ["src"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "C4", "SIM", "ASYNC", "RUF"]
ignore = ["B008", "RUF001", "RUF002", "RUF003"]
[tool.ruff.lint.isort]
known-first-party = ["adctf"]
[tool.mypy]
python_version = "3.11"
plugins = ["pydantic.mypy"]
strict = true
ignore_missing_imports = true
[tool.bandit]
exclude_dirs = ["migrations", "docs"]