Path to this page:
./
devel/py-vulture,
Find dead code
Branch: CURRENT,
Version: 2.13,
Package name: py312-vulture-2.13,
Maintainer: kamelderouicheVulture finds unused code in Python programs. This is useful for
cleaning up and finding errors in large code bases. If you run Vulture
on both your library and test suite you can find untested code.
Due to Python's dynamic nature, static code analyzers like Vulture are
likely to miss some dead code. Also, code that is only called implicitly
may be reported as unused. Nonetheless, Vulture can be a very helpful
tool for higher code quality.
Master sites:
Filesize: 55.729 KB
Version history: (Expand)
- (2024-10-14) Updated to version: py312-vulture-2.13
- (2024-01-20) Updated to version: py311-vulture-2.11
- (2023-12-04) Updated to version: py311-vulture-2.10
- (2022-11-22) Updated to version: py310-vulture-2.6
- (2022-06-19) Package added to pkgsrc.se, version py39-vulture-2.4 (created)
CVS history: (Expand)
2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862) |
Log message:
py-*: remove unused tool dependency
py-setuptools includes the py-wheel functionality nowadays
|
2024-10-14 15:07:32 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-vulture: updated to 2.13
2.13 (2024-10-02)
* Add support for Python 3.13
* Add PyPI and conda-forge badges to README file
* Include `tests/**/*.toml` in sdist
2.12 (2024-09-17)
* Use `ruff` for linting and formatting
* Replace `tox` by `pre-commit` for linting and formatting
* Add `--config` flag to specify path to pyproject.toml configuration file
|
2024-01-20 09:14:40 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-vulture: updated to 2.11
2.11 (2024-01-06)
* Switch to tomllib/tomli to support heterogeneous arrays
* Bump flake8, flake8-comprehensions and flake8-bugbear
* Provide whitelist parity for `MagicMock` and `Mock`
|
2023-12-04 07:11:30 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-vulture: updated to 2.10
2.10 (2023-10-06)
* Drop support for Python 3.7.
* Add support for Python 3.12.
* Use `end_lineno` AST attribute to obtain more accurate line counts.
2.9.1 (2023-08-21)
* Use exit code 0 for `--help` and `--version` again.
2.9 (2023-08-20)
* Use exit code 3 when dead code is found.
* Treat non-supported decorator names as "@" instead of crashing.
* Drop support for Python 3.6.
2.8 (2023-08-10)
* Add `UnicodeEncodeError` exception handling to `core.py`.
* Add whitelist for `Enum` attributes `_name_` and `_value_`.
* Run tests and add PyPI trove for Python 3.11.
2.7 (2023-01-08)
* Ignore `setup_module()`, `teardown_module()`, etc. in pytest `test_*.py` files.
* Add whitelist for `socketserver.TCPServer.allow_reuse_address`.
* Clarify that `--exclude` patterns are matched against absolute paths.
* Fix example in README file
|
2022-11-21 21:16:44 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-vulture: updated to 2.6
2.6 (2022-09-19)
* Add basic `match` statement support.
2.5 (2022-07-03)
* Mark imports in `__all__` as used.
* Add whitelist for `pint.UnitRegistry.default_formatter`.
|
2022-06-19 00:30:01 by Thomas Klausner | Files touched by this commit (4) |
Log message:
devel/py-vulture: import py-vulture-2.4
Based on wip package by K.I.A.Derouiche and myself.
Vulture finds unused code in Python programs. This is useful for
cleaning up and finding errors in large code bases. If you run Vulture
on both your library and test suite you can find untested code.
Due to Python's dynamic nature, static code analyzers like Vulture are
likely to miss some dead code. Also, code that is only called implicitly
may be reported as unused. Nonetheless, Vulture can be a very helpful
tool for higher code quality.
|