2022-06-14 18:35:47 -05:00
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2023-05-07 23:34:55 -05:00
|
|
|
rev: v4.4.0
|
2022-06-14 18:35:47 -05:00
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: check-added-large-files
|
|
|
|
- repo: https://github.com/psf/black
|
2023-05-09 08:16:52 -05:00
|
|
|
rev: 23.3.0
|
2022-06-14 18:35:47 -05:00
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
language_version: python
|
2023-05-07 23:34:55 -05:00
|
|
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
2023-05-09 08:16:52 -05:00
|
|
|
rev: 'v0.0.265'
|
2022-06-14 18:35:47 -05:00
|
|
|
hooks:
|
2023-05-07 23:34:55 -05:00
|
|
|
- id: ruff
|
2023-05-09 08:16:52 -05:00
|
|
|
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
|