Apocrypha

autoflake

Removes unused imports and unused variables from Python code

autoflake removes unused imports and unused variables from Python code. It makes use of pyflakes to do this. By default, autoflake only removes unused imports for modules that are part of the standard library. (Other modules may have side effects that make them unsafe to remove automatically.) Removal of unused variables is also disabled by default. autoflake also removes useless pass statements.

Available in

OverlayNewestEbuildsLast activity
guru gitweb ↗ 2.3.1 1 2 d details ›
pypi GitHub ↗ 2.3.1 1 5 mo details ›

Versions & arches

VersionOverlay amd64x86 Committed
2.3.1 guru amd64 testing x86 untested view · download · history ↗
2.3.1 pypi amd64 testing x86 testing view · download · history ↗

Use flags of 2.3.1

  • test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
1 expansion flags (python targets, ABIs, cpu flags…)
  • python_targets_python3_12

Runtime dependencies of 2.3.1

show 5 lines