python-benedict/.pre-commit-config.yaml

38 lines
886 B
YAML
Raw Normal View History

# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
hooks:
- id: pyupgrade
2023-02-10 15:19:50 +00:00
args: ["--py38-plus"]
- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
args: ["--profile", "black"]
2023-04-05 15:35:38 +00:00
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.261
hooks:
2023-04-05 15:35:38 +00:00
- id: ruff
- repo: https://github.com/pre-commit/pre-commit-hooks
2022-11-24 06:37:57 +00:00
rev: v4.4.0
hooks:
2022-12-05 19:34:33 +00:00
- id: fix-encoding-pragma
args: [--remove]
- id: trailing-whitespace
- id: end-of-file-fixer
exclude: "tests/dicts/io/input/"
- id: check-yaml
- id: check-added-large-files
2023-01-12 12:13:42 +00:00
exclude: "images/"