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: 3 months ago
Linked from 1 awesome list

formatterhacktoberfestlinterpyflakespython

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
pycqa/flake8-bugbear A tool to identify likely bugs and design problems in Python code 1,066
asottile/yesqa Automates the removal of outdated or unnecessary code comments 264
pycqa/modernize Transforms Python 2 source code into compatible Python 3 and 2.6+ code 356
pycqa/flake8-commas Enforces trailing commas in Python code to avoid merge conflicts and improve readability. 131
pycqa/flake8-json Formats Flake8 output as JSON with optional pretty-printing and CodeClimate support 10
pycqa/flake8-docstrings Tools to improve Python documentation quality and consistency 155
pycqa/flake8-import-order A plugin that checks the ordering of imports in Python code according to specific style guides. 277
pycqa/pep8-naming Checks Python code against PEP 8 naming conventions to ensure consistent and readable coding practices. 517
wemake-services/flake8-eradicate Automatically identifies and flags unused or commented-out code in Python projects. 311
hakancelikdev/unimport Tool for detecting and removing unused import statements in code 239
pytorch-labs/torchfix A tool to analyze and fix issues in PyTorch-related Python code, with automated fixes available. 111
microsoft/pylance-release Provides language support and features for Python development in Visual Studio Code 1,726
nbqa-dev/nbqa Automates code quality checks and formatting for Jupyter Notebooks 1,057
pycqa/flake8-pyi Enhances Flake8 to better handle stub files used in type hinting 73
msamogh/nonechucks Library that provides dynamic data cleaning and filtering capabilities for PyTorch datasets and samplers 378