forked from CTFd/ctfcli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
57 lines (49 loc) · 1.19 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
[tool.poetry]
name = "ctfcli"
version = "0.1.3"
description = "ctfcli is a tool to manage Capture The Flag events and challenges"
authors = ["Kevin Chung <[email protected]>", "Miłosz Skaza <[email protected]>"]
readme = "README.md"
[tool.poetry.scripts]
ctf = "ctfcli.__main__:main"
[tool.poetry.build]
# I don't understand why poetry doesn't seem to be following symlinks.
# This script resolves the symlinks in the templates to the example challenge spec
script = "preprocess.py"
[tool.poetry.dependencies]
python = "^3.8"
python-frontmatter = "^1.0.0"
requests = "^2.31.0"
pyyaml = "^6.0.1"
click = "^8.1.7"
cookiecutter = "^2.3.0"
appdirs = "^1.4.4"
colorama = "^0.4.6"
fire = "^0.5.0"
typing-extensions = "^4.7.1"
[tool.poetry.group.dev.dependencies]
black = "^23.7.0"
ruff = "^0.0.284"
isort = "^5.12.0"
pytest = "^7.4.0"
pytest-sugar = "^0.9.7"
pytest-cov = "^4.1.0"
[tool.ruff]
line-length = 120
ignore = ["E721"]
exclude = ["build", "ctfcli/templates"]
[tool.isort]
profile = "black"
[tool.black]
line-length = 120
target-version = ['py311']
extend-exclude = '''
(
/build
| /ctfcli/templates
| /venv
)
'''
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"