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.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
1.3.1-bp156.3.2 info | GA Release | 2023-07-24 | 15 SP6 |
|
|
1.3.1-bp155.2.11 info | GA Release | 2023-05-22 | 15 SP5 |
|
|
1.3.1-bp154.1.22 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
1.3.1-bp153.1.14 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
1.3.1-bp152.1.8 info | GA Release | 2020-04-17 | 15 SP2 |
|
|
1.2-bp151.1.2 info | GA Release | 2019-07-17 | 15 SP1 |
|
|