2022-03-31 11:30:53 +02:00
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
|
|
exclude: "user_agents|website/web/sri.txt"
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2024-10-07 13:15:15 +02:00
|
|
|
rev: v5.0.0
|
2022-03-31 11:30:53 +02:00
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: check-yaml
|
|
|
|
- id: check-added-large-files
|
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2024-10-22 01:25:28 +02:00
|
|
|
rev: v3.18.0
|
2022-03-31 11:30:53 +02:00
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
|
|
|
args: [--py38-plus]
|