-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
75 lines (68 loc) · 1.92 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
[project]
name = "ctf-architect"
version = "0.1.0a14"
description = "A CTF challenge management tool"
license = "MIT"
readme = "README.md"
authors = [
{ name = "Jus-Codin", email = "[email protected]" }
]
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
]
requires-python = ">=3.11"
dependencies = [
"cyclopts>=3.1.2",
"pydantic>=2.10.4",
"pyyaml>=6.0.2",
"readchar>=4.2.1",
"rich>=13.9.4",
"tomlkit>=0.13.2",
]
[project.scripts]
ctf-architect = "ctf_architect.cli:main"
ctfa = "ctf_architect.cli:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"ruff>=0.8.4",
]
docs = [
"mkdocs-material>=9.5.50",
"mkdocstrings[python]>=0.27.0",
]
[tool.ruff]
line-length = 120
target-version = "py311"
include = [
"src/**/*.py",
]
[tool.ruff.lint]
extend-select = ["RUF100", "C90", "UP", "I", "D"]
mccabe = { max-complexity = 15 }
ignore = [
"D100", # ignore missing docstring in module
"D101", # ignore missing docstring in class
"D102", # ignore missing docstring in public method
"D103", # ignore missing docstring in public function
"D104", # ignore missing docstring in public package
"D105", # ignore missing docstring in magic methods
"D107", # ignore missing docstring in __init__ methods
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.format]
quote-style = "double"