NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI
PyPI, #1950 most downloaded on PyPI
Removes unused imports and unused variables
Latest stable
2.4.0
Last release 3 months ago
22 Aug 2026
Ships unpredictably
gaps range from 8 days to 1.9 years
Some releases are documented
notes for 33 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
14 years old
64 releases · first in 2012
Drag across the ruler to compare, or tap a release to open it.
<!-- Release notes generated using configuration in .github/release.yml at v2.4.0 -->
<!-- Release notes generated using configuration in .github/release.yml at v2.4.0 -->
import is on the second line by @gaoflow in https://github.com/PyCQA/autoflake/pull/354Full Changelog: https://github.com/PyCQA/autoflake/compare/v2.3.3...v2.4.0
<!-- Release notes generated using configuration in .github/release.yml at v2.3.3 -->
<!-- Release notes generated using configuration in .github/release.yml at v2.3.3 -->
Full Changelog: https://github.com/PyCQA/autoflake/compare/v2.3.2...v2.3.3
Your coding agent can read these notes before it upgrades. Set up the MCP server →
<!-- Release notes generated using configuration in .github/release.yml at v2.3.2 -->
<!-- Release notes generated using configuration in .github/release.yml at v2.3.2 -->
--py39-plus by @fsouza in https://github.com/PyCQA/autoflake/pull/313is_literal_or_name on unhashable set literals by @Fridayai700 in https://github.com/PyCQA/autoflake/pull/339extract_package_name on malformed import lines by @Fridayai700 in https://github.com/PyCQA/autoflake/pull/338Full Changelog: https://github.com/PyCQA/autoflake/compare/v2.3.1...v2.3.2
Update pre-commit config by @fsouza in https://github.com/PyCQA/autoflake/pull/295
pre-commit/action by @fsouza in https://github.com/PyCQA/autoflake/pull/297setup.cfg by @fsouza in https://github.com/PyCQA/autoflake/pull/296Full Changelog: https://github.com/PyCQA/autoflake/compare/v2.3.0...v2.3.1
<!-- Release notes generated using configuration in .github/release.yml at v2.3.0 -->
<!-- Release notes generated using configuration in .github/release.yml at v2.3.0 -->
Full Changelog: https://github.com/PyCQA/autoflake/compare/v2.2.1...v2.3.0
<!-- Release notes generated using configuration in .github/release.yml at v2.2.1 -->
<!-- Release notes generated using configuration in .github/release.yml at v2.2.1 -->
Full Changelog: https://github.com/PyCQA/autoflake/compare/v2.2.0...v2.2.1
<!-- Release notes generated using configuration in .github/release.yml at v2.2.0 -->
<!-- Release notes generated using configuration in .github/release.yml at v2.2.0 -->
Full Changelog: https://github.com/PyCQA/autoflake/compare/v2.1.1...v2.2.0
Revert "Support .toml configuration format with --config flag (#249)" by @fsouza in https://github.com/PyCQA/autoflake/pull/252
Full Changelog: https://github.com/PyCQA/autoflake/compare/v2.1.0...v2.1.1
Bump v2.0.2 by @fsouza in https://github.com/PyCQA/autoflake/pull/236
Full Changelog: https://github.com/PyCQA/autoflake/compare/v2.0.2...v2.1.0
Don't sort imports by @fsouza in https://github.com/PyCQA/autoflake/pull/232
Full Changelog: https://github.com/PyCQA/autoflake/compare/v2.0.1...v2.0.2
pre-commit autoupdate by @sadikkuzu in https://github.com/PyCQA/autoflake/pull/198
Full Changelog: https://github.com/PyCQA/autoflake/compare/v2.0.0...v2.0.1
Upgrade minimum version of pyflakes
Full Changelog: https://github.com/PyCQA/autoflake/compare/v1.7.8...v2.0.0
[pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyCQA/autoflake/pull/181
# type: comments by @psasselum in https://github.com/PyCQA/autoflake/pull/186Full Changelog: https://github.com/PyCQA/autoflake/compare/v1.7.7...v1.7.8
fix: Ignore pass multiple lines after docstring with flag by @DenverCoder1 in https://github.com/PyCQA/autoflake/pull/177
Full Changelog: https://github.com/PyCQA/autoflake/compare/v1.7.6...v1.7.7
Bump actions/cache from 3.0.10 to 3.0.11 by @dependabot in https://github.com/PyCQA/autoflake/pull/174
Full Changelog: https://github.com/PyCQA/autoflake/compare/v1.7.5...v1.7.6
Fixed multiprocessing issue on win64 with more than 60 cores by @inuik in https://github.com/PyCQA/autoflake/pull/172
Full Changelog: https://github.com/PyCQA/autoflake/compare/v1.7.4...v1.7.5
Bump actions/setup-python from 4.2.0 to 4.3.0 by @dependabot in https://github.com/PyCQA/autoflake/pull/167
--imports by @fsouza in https://github.com/PyCQA/autoflake/pull/170Full Changelog: https://github.com/PyCQA/autoflake/compare/v1.7.3...v1.7.4
[pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/PyCQA/autoflake/pull/165
Full Changelog: https://github.com/PyCQA/autoflake/compare/v1.7.2...v1.7.3
Properly consider options from config file and flags by @fsouza in https://github.com/PyCQA/autoflake/pull/161
Full Changelog: https://github.com/PyCQA/autoflake/compare/v1.7.1...v1.7.2
Update merge_configuration_file to prefer values from flags by @fsouza in https://github.com/PyCQA/autoflake/pull/158
Full Changelog: https://github.com/PyCQA/autoflake/compare/v1.7.0...v1.7.1
Unified output to stdout when using --check by @ericstengard in https://github.com/PyCQA/autoflake/pull/148
Full Changelog: https://github.com/PyCQA/autoflake/compare/v1.6.1...v1.7.0
Add ignore-pass-after-doctstring and ignore-pass-statement to config by @fsouza in https://github.com/PyCQA/autoflake/pull/146
Full Changelog: https://github.com/PyCQA/autoflake/compare/v1.6.0...v1.6.1
Use black for formatting code by @fsouza in https://github.com/PyCQA/autoflake/pull/136
Full Changelog: https://github.com/PyCQA/autoflake/compare/v1.5.3...v1.6.0
Remove Makefile and reference to travis.yml by @fsouza in https://github.com/PyCQA/autoflake/pull/132
Full Changelog: https://github.com/PyCQA/autoflake/compare/v1.5.2...v1.5.3
added option to remove RHS also when removing unused variables by @das-intensity in https://github.com/PyCQA/autoflake/pull/92
Full Changelog: https://github.com/PyCQA/autoflake/compare/v1.5.1...v1.5.2
github/workflows: automatic upload to PyPI on tag by @fsouza in https://github.com/PyCQA/autoflake/pull/126
Full Changelog: https://github.com/PyCQA/autoflake/compare/v1.5.0...v1.5.1
test against more versions of python by @akeeman in https://github.com/PyCQA/autoflake/pull/80
--jobs opt) by @giampaolo in https://github.com/PyCQA/autoflake/pull/107Full Changelog: https://github.com/PyCQA/autoflake/compare/v1.4...v1.5.0
Show filenames with errors in --check mode by @arxell in https://github.com/PyCQA/autoflake/pull/57
Full Changelog: https://github.com/PyCQA/autoflake/compare/v1.3.1...v1.4
Add ignore-init-module-imports to README by @pmgrafe in https://github.com/PyCQA/autoflake/pull/51
Full Changelog: https://github.com/PyCQA/autoflake/compare/v1.3...v1.3.1
Add note about # noqa comments to disable autoflake in specific lines by @tiangolo in https://github.com/PyCQA/autoflake/pull/43
Full Changelog: https://github.com/PyCQA/autoflake/compare/v1.2...v1.3
standard_paths in plat_specific True and False by @toddrme2178 in https://github.com/PyCQA/autoflake/pull/33
Full Changelog: https://github.com/PyCQA/autoflake/compare/v1.1...v1.2
Remove duplicate dictionary keys by @andrewda in https://github.com/PyCQA/autoflake/pull/28
Full Changelog: https://github.com/PyCQA/autoflake/compare/v1.0...v1.1
Add option to expand single star import by @adhikasp in https://github.com/PyCQA/autoflake/pull/18
Full Changelog: https://github.com/PyCQA/autoflake/compare/v0.7...v1.0
Prevent from * import * to be splitted by @adhikasp in https://github.com/PyCQA/autoflake/pull/15
from * import * to be splitted by @adhikasp in https://github.com/PyCQA/autoflake/pull/15Full Changelog: https://github.com/PyCQA/autoflake/compare/v0.6.6...v0.7
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.