awesome-codemods
Curated list of tools that can fix your code for you
https://github.com/jelmer/awesome-codemods
Last synced: 2 days ago
JSON representation
-
By Environment
-
Debian
- **cme** - Fix various common issues in Debian packages
- **deb-new-upstream** - Import new upstream releases or snapshots
- **drop-mia-uploaders** - Remove Missing-In-Action uploaders from Maintainer/Uploader fields
- **apply-multiarch-hints** - Apply multi-arch fixes from https://multiarch.debian.net/
- **cme** - Fix various common issues in Debian packages
-
General
- codespell - check code for common misspellings
-
Python
- **yesqa** - Remove unnecessary ``#noqa`` comments
- **pyupgrade** - upgrade syntax for newer versions of the language
- **teyit** - use recommended style for assert statements
- **setup-py-upgrade** - upgrade setup.py to new metadata syntax
- **modernize** - modernize Python code for eventual Python 3 migration
- **autoflake** - remove unused imports and unused variables
- **ruff** - ultra-fast linter that can also fix (some of the) issues it reports
- **reorder_python_imports** - automatically reorder imports
-
C/C++
- **uncrustify** - Code formatting along flexible rules
-
Rust
- **clippy** - linter that can also fix (some of the) issues it reports
-
Go
- **golangci-lint** - linter that can also fix (some of the) issues it reports
-
JavaScript/TypeScript
- **jscodeshift** - toolkit for running codemods over multiple JavaScript or TypeScript files
- **ts-morph** - TypeScript Compiler API wrapper for programmatic code changes
-
Ruby
- **RuboCop** - static code analyzer and formatter that can automatically fix many issues
-
-
Libraries/Tools for refactoring
-
Debian
- **clang-libastmatcher** - CLang AST Matchers
- **Bowler** - modern Python (deprecated, recommends libcst)
- **libcst** - Python
- **rerast** - transform Rust code using rules
- **refex** - refactor expressions in Python
- **asttokens** - token-preserving AST library for Python
- **pasta** - code rewriting for Python using AST mutation instead of string templates
-
-
Commercial Platforms
-
Debian
-
-
Fix aggregators
-
Debian
- **nitpick** - Apply the same pre-defined settings across all your projects
- **routine-update** - run various codemods for Debian packages
- **routine-update** - run various codemods for Debian packages
-
-
Tools for invoking codemods
-
Debian
- **silver-platter** - Run codemods against remote repositories and publish changes (creating PRs/pushing)
- **all-repos** - Run codemods across a set of local repositories
- **pre-commit** - Run formatters during git pre-commit
-
-
Meta
-
Debian
-
Programming Languages
Categories
Keywords
linter
5
python
4
pre-commit
2
formatter
2
static-code-analysis
2
flake8
2
bzr
2
python3
2
git
2
rust
2
styleguide
2
static-analysis
2
beautifier
1
beautify
1
code-style
1
format
1
ast
1
lint
1
style-guide
1
rustpython
1
ruff
1
pep8
1
ruby
1
rubocop
1
code-formatter
1
pyflakes
1
vcs
1
pull-requests
1
pull-request
1
merge-proposal
1
version-control-system
1
version-control
1
brz
1
breezy
1
bazaar
1
lintian
1
setuptools
1
packaging
1
refactoring
1
monolith
1
all-repos
1
pylint
1
mypy
1
isort
1
flake8-plugin
1
typescript
1
javascript
1
code-generation
1