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
|
|
|
|
rev: v4.1.0
|
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
2022-06-15 15:35:29 -05:00
|
|
|
exclude: "(.*svg$|docs/rich-diff.md)"
|
2022-06-14 18:35:47 -05:00
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: check-added-large-files
|
|
|
|
- repo: https://github.com/pycqa/isort
|
|
|
|
rev: 5.10.1
|
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
- repo: https://github.com/psf/black
|
|
|
|
rev: 22.3.0
|
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
language_version: python
|
|
|
|
- repo: https://github.com/pycqa/flake8
|
|
|
|
rev: 4.0.1
|
|
|
|
hooks:
|
|
|
|
- id: flake8
|