autoflake

Code cleanup tool

A tool to automatically remove unused imports and variables from Python code based on pyflakes analysis

Removes unused imports and unused variables as reported by pyflakes

GitHub

908 stars
16 watching
82 forks
Language: Python
last commit: almost 2 years ago
Linked from 1 awesome list

formatterhacktoberfestlinterpyflakespython

Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
pycqa/flake8-bugbearA tool to identify likely bugs and design problems in Python code1,066
asottile/yesqaAutomates the removal of outdated or unnecessary code comments264
pycqa/modernizeTransforms Python 2 source code into compatible Python 3 and 2.6+ code356
pycqa/flake8-commasEnforces trailing commas in Python code to avoid merge conflicts and improve readability.131
pycqa/flake8-jsonFormats Flake8 output as JSON with optional pretty-printing and CodeClimate support10
pycqa/flake8-docstringsTools to improve Python documentation quality and consistency155
pycqa/flake8-import-orderA plugin that checks the ordering of imports in Python code according to specific style guides.277
pycqa/pep8-namingChecks Python code against PEP 8 naming conventions to ensure consistent and readable coding practices.517
wemake-services/flake8-eradicateAutomatically identifies and flags unused or commented-out code in Python projects.311
hakancelikdev/unimportTool for detecting and removing unused import statements in code239
pytorch-labs/torchfixA tool to analyze and fix issues in PyTorch-related Python code, with automated fixes available.111
microsoft/pylance-releaseProvides language support and features for Python development in Visual Studio Code1,726
nbqa-dev/nbqaAutomates code quality checks and formatting for Jupyter Notebooks1,057
pycqa/flake8-pyiEnhances Flake8 to better handle stub files used in type hinting73
msamogh/nonechucksLibrary that provides dynamic data cleaning and filtering capabilities for PyTorch datasets and samplers378