69 lines
1.7 KiB
TOML
69 lines
1.7 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "depaudit-cli"
|
|
version = "1.0.0"
|
|
description = "A comprehensive CLI tool that audits project dependencies for security vulnerabilities, outdated packages, license compliance, and unused dependencies."
|
|
readme = "README.md"
|
|
license = {text = "MIT"}
|
|
requires-python = ">=3.9"
|
|
authors = [
|
|
{name = "DepAudit Team", email = "team@depaudit.io"}
|
|
]
|
|
keywords = ["dependency", "audit", "security", "vulnerability", "cli"]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Environment :: Console",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
]
|
|
dependencies = [
|
|
"click>=8.0",
|
|
"requests>=2.31",
|
|
"beautifulsoup4>=4.12",
|
|
"rich>=13.0",
|
|
"tomli>=2.0; python_version < '3.11'",
|
|
"packaging>=23.0",
|
|
"requests-cache>=1.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.4",
|
|
"pytest-cov>=4.1",
|
|
"pytest-mock>=3.11",
|
|
"black>=23.0",
|
|
"ruff>=0.1",
|
|
"mypy>=1.5",
|
|
]
|
|
|
|
[project.scripts]
|
|
depaudit = "depaudit.main:main"
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py"]
|
|
python_functions = ["test_*"]
|
|
addopts = "-v --tb=short"
|
|
|
|
[tool.black]
|
|
line-length = 100
|
|
target-version = ["py39", "py310", "py311", "py312"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py39"
|
|
|
|
[tool.mypy]
|
|
python_version = "3.9"
|
|
warn_return_any = true
|
|
warn_unused_configs = true
|
|
ignore_missing_imports = true
|