-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yml
46 lines (46 loc) · 1.1 KB
/
.pre-commit-config.yml
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
38
39
40
41
42
43
44
45
46
# pre-commit configuration
#
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
#
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-json
- id: check-toml
- id: check-yaml
- id: check-added-large-files
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: detect-private-key
- id: fix-byte-order-marker
- id: mixed-line-ending
args: ["--fix=lf"]
- repo: https://github.com/abravalheri/validate-pyproject
rev: main
hooks:
- id: validate-pyproject
- repo: https://github.com/jazzband/pip-tools
rev: 6.12.0
hooks:
- id: pip-compile
- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
hooks:
- id: pyupgrade
- repo: https://github.com/crate-ci/typos
rev: v1.13.4
hooks:
- id: typos
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.189
hooks:
- id: ruff
- repo: https://github.com/dhatim/python-license-check
rev: master
hooks:
- id: liccheck
language: system