-
Notifications
You must be signed in to change notification settings - Fork 221
Expand file tree
/
Copy pathpyproject.toml
More file actions
57 lines (50 loc) · 1.34 KB
/
pyproject.toml
File metadata and controls
57 lines (50 loc) · 1.34 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
[project]
name = "pytm"
version = "1.4.0"
description = "A Pythonic framework for threat modeling"
authors = [{ name = "pytm Team", email = "please_use_github_issues@nowhere.com" }]
license = "MIT"
requires-python = ">=3.11,<3.15"
readme = "README.md"
packages = [{include = "pytm"}]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Topic :: Security",
"Natural Language :: English",
]
dependencies = [
"pydantic>=2.10.0,<3.0.0",
]
[dependency-groups]
dev = [
"pytest>=8.3.5,<9.0.0",
"black>=25.9.0,<26.0.0",
"pdoc3>=0.11.6,<0.12.0",
"ruff>=0.15.11,<0.16.0",
]
[project.urls]
homepage = "https://github.com/OWASP/pytm"
[tool.ruff]
target-version = "py311"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
]
ignore = [
"E501", # line too long — black handles line length for reformattable code
"UP007", # Union[X, Y] -> X | Y syntax requires Python 3.10+ at runtime
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["pytm"]