-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
34 lines (33 loc) · 1001 Bytes
/
.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
repos:
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.3.0
hooks:
- id: black
args: [--target-version, py310, --preview, --enable-unstable-feature=string_processing]
language_version: python3.12
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.3.3"
hooks:
- id: ruff
language_version: python3.12
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.5
hooks:
- id: insert-license
files: \.py$
args:
- --license-filepath
- LICENSE
- --comment-style
- "\"\"\"||\"\"\""
- --allow-past-years
- --use-current-year
- --no-space-in-comment-prefix
ci:
autofix_commit_msg: "ci: auto fixes from pre-commit.com hooks"
autoupdate_branch: "main"
autoupdate_commit_msg: "ci: pre-commit autoupdate"