-
Notifications
You must be signed in to change notification settings - Fork 12
/
pyproject.toml
66 lines (57 loc) · 1.36 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
[tool.poetry]
name = "pwncore"
version = "0.1.0"
description = "The backend for an advanced CTF platform"
authors = ["LUGVITC"]
license = "GNU GENERAL PUBLIC LICENSE"
readme = "README.md"
[[tool.poetry.packages]]
include = "pwncore"
from = "src"
# Format to add new packages to the wheel
# [[tool.poetry.packages]]
# include = "new_package_or_maybe_script?"
# from = "src"
[tool.poetry.dependencies]
python = "^3.11"
fastapi = "^0.104.1"
uvicorn = "^0.24.0"
tortoise-orm = {version = "^0.20.0", extras = ["asyncpg", "accel"]}
aiodocker = "^0.21.0"
passlib = "^1.7.4"
pyjwt = "^2.8.0"
types-passlib = "^1.7.7.13"
multidict = "^6.0.5"
gunicorn = "^23.0.0"
[tool.poetry.group.dev.dependencies]
mypy = "^1.6.1"
httpx = "^0.25.1"
pytest = "^7.4.3"
flake8 = "^6.1.0"
black = "^23.10.1"
flake8-bugbear = "^23.9.16"
[tool.mypy]
python_version = 3.11
warn_return_any = true
warn_unreachable = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_unused_configs = true
check_untyped_defs = true
show_column_numbers = true
show_error_codes = true
enable_error_code = [
"ignore-without-code",
"truthy-bool",
"truthy-iterable",
"redundant-expr",
"no-any-unimported",
"redundant-self",
"type-arg"
]
pretty = true
# For per file / package config
# [[tool.mypy.overrides]]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"