-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (61 loc) · 1.75 KB
/
Copy pathpyproject.toml
File metadata and controls
71 lines (61 loc) · 1.75 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "cvss"
version = "2.3.6"
description = "CVSS calculator supporting CVSS versions 2.10 and 4.0"
readme = "README.md"
license = "MIT"
authors = [
{ name = "Fredrik Hedman", email = "cvss@noruna.se" },
]
keywords = ["CVSS", "Common Vulnerability Scoring System", "IT-Security"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Information Technology",
"Topic :: Security",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
]
requires-python = ">=3.12"
dependencies = []
[project.urls]
Homepage = "https://github.com/FredrikHedman/CVSS"
[project.scripts]
cvss2 = "cvss2.cvss:main"
cvss4 = "cvss4.cvss:main"
[tool.hatch.build.targets.wheel]
packages = ["cvss", "cvss2", "cvss4"]
[tool.pytest.ini_options]
addopts = "--doctest-modules"
testpaths = ["cvss", "cvss2", "cvss4", "tests"]
[tool.ruff]
line-length = 79
exclude = ["examples/cvss_calci.py", "examples/cvss_calci3.py"]
[tool.ruff.lint]
select = ["E", "F", "W", "C90", "N"]
ignore = ["D100", "D101", "D102", "D103", "D301", "N803"]
[tool.ruff.lint.mccabe]
max-complexity = 9
[tool.basedpyright]
pythonVersion = "3.14"
typeCheckingMode = "strict"
include = ["cvss", "cvss2", "cvss4", "tests", "misc"]
exclude = ["examples/cvss_calci.py", "examples/cvss_calci3.py"]
reportImplicitOverride = "warning"
reportImplicitStringConcatenation = "warning"
reportUnusedCallResult = "warning"
reportExplicitAny = "warning"
reportAny = "warning"
reportUnannotatedClassAttribute = "warning"
[dependency-groups]
dev = [
"basedpyright>=1.39.3",
"pytest>=9.0.3",
"ruff>=0.15.12",
]
sdk-agents = [
"claude-agent-sdk>=0.2.95",
"starlette>=1.3.1",
]