💾 Archived View for freeshell.de › tldr › autoflake.gmi captured on 2022-06-11 at 21:25:53. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

autoflake

A tool to remove unused imports and variables from Python code.

More information.

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).

CC-BY