-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (54 loc) · 1.45 KB
/
Copy pathpyproject.toml
File metadata and controls
62 lines (54 loc) · 1.45 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
59
60
61
62
[project]
name = "boundless"
version = "0.1.0"
description = "A container-only path-traversal (CWE-22 / Zip Slip) teaching demo: join-versus-resolve, done safely."
readme = "README.md"
requires-python = ">=3.13"
license = "MIT"
license-files = ["LICENSE"]
authors = [{ name = "boundless demo authors" }]
keywords = ["security", "education", "path-traversal", "cwe-22", "zip-slip"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Programming Language :: Python :: 3.13",
"Topic :: Education",
"Topic :: Security",
"Private :: Do Not Upload",
]
dependencies = [
"fastapi>=0.115",
"uvicorn[standard]>=0.30",
"httpx>=0.27",
"python-multipart>=0.0.9",
]
[dependency-groups]
dev = [
"pytest>=8.2",
"ruff>=0.6",
"mypy>=1.11",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/boundless"]
[tool.ruff]
line-length = 100
target-version = "py313"
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "C4", "RUF"]
[tool.ruff.lint.per-file-ignores]
# Tests import a top-level helper module resolved via the tests directory on sys.path.
"tests/*" = ["INP001"]
[tool.mypy]
python_version = "3.13"
strict = true
namespace_packages = true
explicit_package_bases = true
mypy_path = ["src", "tests"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra"