-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
125 lines (110 loc) · 2.93 KB
/
pyproject.toml
File metadata and controls
125 lines (110 loc) · 2.93 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
[project]
name = "noisecutter"
version = "0.1.0"
description = "NoiseCutter: Prove what's exploitable; ignore the rest. Reachability over SCA."
readme = "README.md"
requires-python = ">=3.9"
license = { text = "Apache-2.0" }
authors = [{ name = "NoiseCutter Authors", email = "team@noisecutter.dev" }]
maintainers = [
{ name = "NoiseCutter Maintainers", email = "team@noisecutter.dev" },
]
keywords = [
"security",
"SBOM",
"SARIF",
"reachability",
"SCA",
"OSV",
"CI",
"DevSecOps",
]
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Environment :: Console",
"Intended Audience :: Developers",
"Topic :: Security",
]
dependencies = [
"typer>=0.12.3",
"rich>=13.7.1",
"httpx>=0.27.0",
"pydantic>=2.7.3",
"packageurl-python>=0.11",
"PyYAML>=6.0.1",
"typing-extensions>=4.12.0",
]
[project.optional-dependencies]
dev = [
"ruff>=0.4.5",
"mypy>=1.10.0",
"pytest>=8.2.0",
"pytest-cov>=5.0.0",
"respx>=0.21.1",
"types-PyYAML>=6.0.12.20250402",
]
[project.urls]
Homepage = "https://github.com/noisecutter/noisecutter"
Repository = "https://github.com/noisecutter/noisecutter"
Documentation = "https://github.com/noisecutter/noisecutter/blob/main/docs/QUICKSTART.md"
Issues = "https://github.com/noisecutter/noisecutter/issues"
Changelog = "https://github.com/noisecutter/noisecutter/releases"
Security = "https://github.com/noisecutter/noisecutter/blob/main/SECURITY.md"
[project.scripts]
noisecutter = "noisecutter.cli:main"
[build-system]
requires = ["hatchling>=1.21.1"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["noisecutter"]
[tool.hatch.build.targets.sdist]
include = [
"noisecutter",
"README.md",
"LICENSE",
"SECURITY.md",
"policy",
"docs",
"examples",
"scripts",
".github",
"pyproject.toml",
"uv.lock",
".pre-commit-config.yaml",
".gitignore",
".editorconfig",
"_typos.toml",
]
[tool.ruff]
line-length = 100
target-version = "py39"
exclude = [".venv", "venv", "dist", "build"]
[tool.ruff.lint]
extend-select = ["B", "C4", "I", "UP", "RUF"]
[tool.ruff.lint.isort]
known-first-party = ["noisecutter"]
[tool.ruff.lint.per-file-ignores]
"noisecutter/cli.py" = ["B008", "B904", "RUF001"]
[tool.mypy]
python_version = "3.9"
strict = true
warn_unreachable = true
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra --strict-markers"
filterwarnings = ["ignore::pytest.PytestDeprecationWarning:pytest_asyncio.*"]
[tool.coverage.run]
branch = true
source = ["noisecutter"]
[tool.coverage.report]
fail_under = 38
exclude_lines = ["pragma: no cover", "if TYPE_CHECKING:"]