Fixit
Meta が作った、カスタマイズ可能なリントツール
Fixit: linting framework with auto-fixes — Fixit documentation
https://pypi.org/project/fixit/
Fixit provides a highly configurable linting framework with support for auto-fixes, custom “local” lint rules, and hierarchical configuration, built on LibCST.
Fixit makes it quick and easy to write new lint rules and offer suggested changes for any errors found, which can then be accepted automatically, or presented to the user for consideration.
Fixitは、LibCSTを基盤として構築された、高度にカスタマイズ可能なリンティングフレームワークであり、自動修正、カスタム「ローカル」リンティングルール、階層型設定をサポートしています。
Fixitを使用すれば、新しいリンティングルールを迅速かつ簡単に作成でき、検出されたエラーに対して修正案を提示できます。これらの修正案は自動的に適用することも、ユーザーに確認を求めることも可能です。
適用事例
logging.getLogger(__name__) を structlog.get_logger()に統一するルールを作る
shimizukawa.iconなるほど、これは良い例