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>
9 lines
384 B
Text
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
|