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

904 stars
16 watching
82 forks
Language: Python
last commit: 27 days ago
Linked from 1 awesome list

formatterhacktoberfestlinterpyflakespython

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
pycqa/flake8-bugbear A plugin that extends flake8 to detect design problems and likely bugs in Python code. 1,066
asottile/yesqa Automates the removal of outdated or unnecessary code comments 267
pycqa/modernize Transforms Python 2 source code into compatible Python 3 and 2.6+ code 355
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 154
pycqa/flake8-import-order A plugin that checks the ordering of imports in Python code according to specific style guides. 278
pycqa/pep8-naming Checks Python code against PEP 8 naming conventions to ensure consistent and readable coding practices. 512
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. 102
microsoft/pylance-release A Python language server extension providing code analysis and features like auto-imports and type checking 1,719
nbqa-dev/nbqa Automates code quality checks and formatting for Jupyter Notebooks 1,051
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 377