|
| 1 | +[build-system] |
| 2 | +requires = ["setuptools>=68", "wheel"] |
| 3 | +build-backend = "setuptools.build_meta" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "vulture" |
| 7 | +dynamic = ["version"] |
| 8 | +description = "Find dead code" |
| 9 | +readme = { file = "README.md", content-type = "text/markdown" } |
| 10 | +keywords = ["dead code removal"] |
| 11 | +requires-python = ">=3.8" |
| 12 | +license = { file = "LICENSE.txt" } |
| 13 | +authors = [ |
| 14 | + { name = "Jendrik Seipp", email = "[email protected]" }, |
| 15 | +] |
| 16 | +classifiers = [ |
| 17 | + "Development Status :: 5 - Production/Stable", |
| 18 | + "Environment :: Console", |
| 19 | + "Intended Audience :: Developers", |
| 20 | + "License :: OSI Approved :: MIT License", |
| 21 | + "Programming Language :: Python", |
| 22 | + "Programming Language :: Python :: 3", |
| 23 | + "Programming Language :: Python :: 3.8", |
| 24 | + "Programming Language :: Python :: 3.9", |
| 25 | + "Programming Language :: Python :: 3.10", |
| 26 | + "Programming Language :: Python :: 3.11", |
| 27 | + "Programming Language :: Python :: 3.12", |
| 28 | + "Programming Language :: Python :: 3.13", |
| 29 | + "Programming Language :: Python :: Implementation :: CPython", |
| 30 | + "Programming Language :: Python :: Implementation :: PyPy", |
| 31 | + "Topic :: Software Development :: Quality Assurance", |
| 32 | +] |
| 33 | +dependencies = [ |
| 34 | + "tomli >= 1.1.0; python_version < '3.11'", |
| 35 | +] |
| 36 | + |
| 37 | +[project.urls] |
| 38 | +Homepage = "https://github.com/jendrikseipp/vulture" |
| 39 | +Repository = "https://github.com/jendrikseipp/vulture" |
| 40 | +Changelog = "https://github.com/jendrikseipp/vulture/blob/main/CHANGELOG.md" |
| 41 | + |
| 42 | +[project.scripts] |
| 43 | +vulture = "vulture.core:main" |
| 44 | + |
| 45 | +[tool.setuptools] |
| 46 | +include-package-data = true |
| 47 | + |
| 48 | +[tool.setuptools.packages.find] |
| 49 | +exclude = ["tests", "tests.*"] |
| 50 | + |
| 51 | +[tool.setuptools.package-data] |
| 52 | +vulture = ["whitelists/*.py"] |
| 53 | + |
| 54 | +[tool.setuptools.dynamic] |
| 55 | +version = { attr = "vulture.version.__version__" } |
| 56 | + |
1 | 57 | [tool.ruff] |
2 | 58 | exclude = [ |
3 | 59 | ".eggs", |
@@ -73,3 +129,10 @@ docstring-code-format = false |
73 | 129 | # This only has an effect when the `docstring-code-format` setting is |
74 | 130 | # enabled. |
75 | 131 | docstring-code-line-length = "dynamic" |
| 132 | + |
| 133 | +[tool.coverage.run] |
| 134 | +omit = [".tox/*"] |
| 135 | +parallel = true |
| 136 | + |
| 137 | +[tool.pytest.ini_options] |
| 138 | +addopts = "--cov vulture --cov-report=html --cov-report=term --cov-report=xml --cov-append" |
0 commit comments