yartsu/.pre-commit-config.yaml

20 lines
564 B
YAML
Raw Normal View History

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-07 23:34:55 -05:00
rev: 23.1.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
rev: 'v0.0.245'
2022-06-14 18:35:47 -05:00
hooks:
2023-05-07 23:34:55 -05:00
- id: ruff
args: [--fix, --exit-non-zero-on-fix]