Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
127 lines (115 loc) · 2.9 KB
/
Copy pathpyproject.toml
File metadata and controls
127 lines (115 loc) · 2.9 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
126
127
[build-system]
requires = ["maturin[pyo3]>=1.4,<2.0"]
build-backend = "maturin"
[project]
name = "pydependencycheck"
version = "1.4.3"
description = "Dependency intelligence and governance platform for Python projects"
readme = "README.md"
authors = [
{name = "Georgi Mammen Mullassery", email = "mullassery@gmail.com"}
]
license = "Apache-2.0"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Monitoring",
"Topic :: Security",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
requires-python = ">=3.8"
dependencies = [
"click>=8.1.0",
"pydantic>=2.0",
"gitpython>=3.1.0",
"networkx>=3.0",
"jinja2>=3.1.0",
"rich>=13.0.0",
"requests>=2.30.0",
"tomli>=1.2.0; python_version < '3.11'",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"black==25.11.0",
"ruff>=0.1.0",
"mypy>=1.0",
]
docs = [
"sphinx>=6.0",
"sphinx-rtd-theme>=1.2.0",
]
visualization = [
"plotly>=5.0",
"matplotlib>=3.5",
]
otel = [
"opentelemetry-api>=1.0",
"opentelemetry-sdk>=1.0",
"opentelemetry-exporter-jaeger>=1.0",
"opentelemetry-exporter-otlp>=0.43b0",
"opentelemetry-exporter-prometheus>=0.43b0",
]
sbom = [
"cryptography>=41.0",
]
[project.scripts]
pydependencycheck = "pydependencycheck.cli:main"
[project.urls]
Repository = "https://github.com/Mullassery/pydependencycheck"
Issues = "https://github.com/Mullassery/pydependencycheck/issues"
Documentation = "https://github.com/Mullassery/pydependencycheck/blob/main/README.md"
[tool.maturin]
features = ["pyo3/extension-module"]
python-source = "python"
module-name = "pydependencycheck._pydependencycheck"
include = ["LICENSE"]
[tool.black]
line-length = 120
target-version = ['py38']
[tool.ruff]
line-length = 120
target-version = "py38"
[tool.ruff.lint]
select = [
"E",
"F",
"W",
"I",
]
ignore = [
"E501", # line too long (handled by black)
]
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-vv --cov=pydependencycheck --cov-report=term-missing"
[tool.coverage.run]
source = ["pydependencycheck"]
omit = [
"*/tests/*",
"*/__pycache__/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if __name__ == .__main__.:",
"raise AssertionError",
"raise NotImplementedError",
"if TYPE_CHECKING:",
]