Mirror of github.com/tamasfe/taplo and the taplo PyPI package for pre-commit.
Add this to your .pre-commit-config.yaml
repos:
- repo: https://github.com/ComPWA/taplo-pre-commit
rev: v0.9.3
hooks:
- id: taplo-formatTo get the latest release, run
pre-commit autoupdate --repo https://github.com/ComPWA/taplo-pre-commitOptionally, you can also install the Taplo linter as a pre-commit hook:
repos:
- repo: https://github.com/ComPWA/taplo-pre-commit
rev: v0.9.3
hooks:
- id: taplo-format
- id: taplo-lint