.pre-commit-config.yaml
raw| 1 | # See https://pre-commit.com for more information |
| 2 | # See https://pre-commit.com/hooks.html for more hooks |
| 3 | |
| 4 | repos: |
| 5 | - repo: local |
| 6 | hooks: |
| 7 | - id: format |
| 8 | name: Format Python files |
| 9 | entry: poe format |
| 10 | language: system |
| 11 | files: '.*.py' |
| 12 | pass_filenames: true |
| 13 | - id: format-docs |
| 14 | name: Format docs |
| 15 | entry: poe format-docs |
| 16 | language: system |
| 17 | files: '.*.rst' |
| 18 | pass_filenames: true |