freebsd-ports/devel/py-autoflake/pkg-descr
Tobias C. Berner 1e3c7289d2 New port: devel/py-autoflake: Removes unused imports and unused variables from Python code
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.

WWW: https://github.com/myint/autoflake

PR:		244759
Submitted by:	Goran Mekić <meka@tilda.center>
2020-03-12 18:27:34 +00:00

9 lines
384 B
Text

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.
WWW: https://github.com/myint/autoflake