./devel/py-vulture, Find dead code

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.11, Package name: py311-vulture-2.11, Maintainer: kamelderouiche

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.


Master sites:

Filesize: 54.23 KB

Version history: (Expand)


CVS history: (Expand)


   2024-01-20 09:14:40 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
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) | Package updated
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) | Package updated
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.