Narzędzie do usuwania nieużywanych importów i zmiennych z kodu Python. Więcej informacji: https://github.com/myint/autoflake.
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 {{sciezka/do/katalogu}}