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

40 lines
928 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"]
- repo: https://github.com/PyCQA/flake8
2022-11-24 06:37:57 +00:00
rev: 6.0.0
hooks:
- id: flake8
2023-03-01 16:37:50 +00:00
additional_dependencies:
- flake8-bugbear
- 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/"