-
Notifications
You must be signed in to change notification settings - Fork 23
/
pyproject.toml
67 lines (60 loc) · 1.9 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
67
[project]
name = "appthreat-vulnerability-db"
version = "6.2.3"
description = "AppThreat's vulnerability database and package search library with a built-in sqlite based storage. OSV, CVE, GitHub, npm are the primary sources of vulnerabilities."
authors = [
{name = "Team AppThreat", email = "[email protected]"},
]
dependencies = [
"httpx[http2]",
"appdirs",
"orjson",
"semver",
"packageurl-python",
"cvss",
"pydantic[email]",
"rich",
"apsw"
]
requires-python = ">=3.10"
readme = "README.md"
license = {text = "MIT"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
"Topic :: Security",
"Topic :: Utilities",
]
[project.urls]
Homepage = "https://github.com/appthreat/vulnerability-db"
[project.scripts]
vdb = "vdb.cli:main"
[build-system]
requires = ["setuptools>=61", "wheel", "build"]
build-backend = "setuptools.build_meta"
[project.optional-dependencies]
dev = [
"black",
"bandit",
"flake8",
"pylint",
"pytest",
"pytest-cov"
]
oras = ["oras==0.1.30"]
all = ["oras==0.1.30"]
[tool.setuptools]
packages = ["vdb", "vdb.lib", "vdb.lib.cve_model"]
[tool.pytest.ini_options]
addopts="--showlocals -v --cov-report=term-missing --no-cov-on-fail --cov vdb"
[tool.pylint]
disable = ["broad-exception-caught", "too-many-branches", "too-many-statements", "too-many-nested-blocks", "too-many-locals", "missing-function-docstring", "too-many-lines", "missing-module-docstring"]
ignore-paths = ["vdb/lib/cve_model/*"]
generated-member = ["orjson.loads", "orjson.dumps", "orjson.OPT_NAIVE_UTC"]