advent-of-code/.pre-commit-config.yaml

27 lines
624 B
YAML
Raw Normal View History

2020-12-02 08:58:58 +01:00
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
2022-12-02 13:23:09 +01:00
rev: v4.4.0
2020-12-02 08:58:58 +01:00
hooks:
- id: check-ast
types: [python]
- id: check-toml
types: [toml]
- id: check-yaml
types: [yaml]
- id: end-of-file-fixer
types: [python]
- id: check-merge-conflict
- id: trailing-whitespace
args:
- --markdown-linebreak-ext=md
- repo: https://github.com/timothycrosley/isort
2022-12-02 13:23:09 +01:00
rev: 5.10.1
2020-12-02 08:58:58 +01:00
hooks:
- id: isort
types: [python]
- repo: https://github.com/psf/black
2022-12-02 13:23:09 +01:00
rev: 22.10.0
2020-12-02 08:58:58 +01:00
hooks:
- id: black
types: [python]