-
-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
25 lines (23 loc) · 762 Bytes
/
.pre-commit-config.yaml
File metadata and controls
25 lines (23 loc) · 762 Bytes
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
ci:
autoupdate_schedule: "quarterly"
repos:
- repo: https://github.com/psf/black
rev: '23.7.0'
hooks:
- id: black
args: [--preview]
# It is recommended to specify the latest version of Python
# supported by your project here, or alternatively use
# pre-commit's default_language_version, see
# https://pre-commit.com/#top_level-default_language_version
language_version: python3.8
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.0.282' # Use the sha / tag you want to point at
hooks:
- id: ruff
args: [--fix]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace