Rewriter is a fork of salt-rewrite, a tool created to automate, and enforce, some of the code design decisions in the evolution of Salt and its test suite.
Some code specific to Salt has been removed to make this a more generic tool.
Some fixes might not be suited to be included in this project, either because their scope is too narrow, or because, they might not be allowed to be made public.
For these cases, a separate project, which depends on this one, can be created and in order for the fixes to be made
available to this rewriter, simply declare your fixes as an entry-point to the fixers group.
[tool.poetry.plugins."fixers"]
fix_asserts = "<my package>.<my fixer module"[project.entry-points."fixers"]
fix_asserts = "<my package>.<my fixer module"