autoflake
code quality
Links
Autoflake
is a Python utility that enhances code quality by automatically removing unused imports and variables. It leverages Pyflakes to analyze code and identify unnecessary components, streamlining the codebase and improving readability.
Custom Settings
From the project.toml
file:
remove-all-unused-imports = true
remove-unused-variables = true
in-place = true
ignore-init-module-imports = true