💾 Archived View for freeshell.de › tldr › autoflake.gmi captured on 2023-09-28 at 16:12:59. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
A tool to remove unused imports and variables from Python code.
autoflake --remove-unused-variables {file.py}
autoflake --remove-all-unused-imports {file1.py} {file2.py} {file3.py}
autoflake --remove-unused-variables --in-place {file.py}
autoflake --remove-unused-variables --in-place --recursive {path/to/directory}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).