-
Notifications
You must be signed in to change notification settings - Fork 727
/
.pre-commit-config.yaml
37 lines (32 loc) · 1.02 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Learn more about this config here: https://pre-commit.com/
# To enable these pre-commit hooks run:
# `brew install pre-commit` or `python3 -m pip install pre-commit`
# Then in the project root directory run `pre-commit install`
# default_language_version:
# python: python3
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-builtin-literals
# - id: check-executables-have-shebangs
# - id: check-shebang-scripts-are-executable
- id: check-toml
- id: check-xml
- id: check-yaml
# - id: detect-private-key
# - id: end-of-file-fixer
# - id: mixed-line-ending
# - id: trailing-whitespace
- repo: https://github.com/crate-ci/typos
rev: v1.17.0
hooks:
- id: typos
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.1.9
hooks:
- id: ruff # See pyproject.toml for args
- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.15
hooks:
- id: validate-pyproject