-
Notifications
You must be signed in to change notification settings - Fork 93
Expand file tree
/
Copy pathpyproject.toml
More file actions
52 lines (44 loc) · 1.21 KB
/
pyproject.toml
File metadata and controls
52 lines (44 loc) · 1.21 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
[project]
name = "ctfcli"
version = "0.1.7"
description = "ctfcli is a tool to manage Capture The Flag events and challenges"
authors = [
{ name = "Kevin Chung", email = "kchung@ctfd.io" },
{ name = "Miłosz Skaza", email = "milosz.skaza@ctfd.io" },
]
requires-python = ">=3.10,<4"
readme = "README.md"
dependencies = [
"python-frontmatter>=1.0.0,<2",
"requests>=2.31.0,<3",
"pyyaml>=6.0.1,<7",
"click>=8.1.7,<9",
"cookiecutter>=2.3.0,<3",
"appdirs>=1.4.4,<2",
"colorama>=0.4.6,<0.5",
"fire>=0.7.0,<0.8",
"typing-extensions>=4.7.1,<5",
"python-slugify>=8.0.4,<9",
]
[project.scripts]
ctf = "ctfcli.__main__:main"
[dependency-groups]
dev = [
"ruff>=0.14.9,<0.15",
"pytest>=9.0.2,<10",
"pytest-sugar>=1.1.1,<2",
"pytest-cov>=7.0.0,<8",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "UP", "B", "I", "S", "SIM", "DTZ", "RUF", "RET", "TID"]
ignore = ["E721", "S603", "S607", "RUF012"]
exclude = ["build/**", "ctfcli/templates/**"]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S", "SIM", "RUF", "RET503"]
[tool.ruff.format]
exclude = ["build/**", "ctfcli/templates/**"]