-
Notifications
You must be signed in to change notification settings - Fork 2
/
.pre-commit-config.yaml
40 lines (35 loc) · 1.09 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
38
39
40
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v5.0.0"
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-merge-conflict
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
# - repo: https://github.com/astral-sh/ruff-pre-commit
# rev: "v0.1.14"
# hooks:
# # Run the linter
# - id: ruff
# types_or: [python, pyi, jupyter]
# args: ["--fix", "--show-fixes"]
# # Run the formatter
# - id: ruff-format
# types_or: [python, pyi, jupyter]
# - repo: https://github.com/adamchainz/blacken-docs
# rev: "1.16.0"
# hooks:
# - id: blacken-docs
# additional_dependencies: [black==23.*]
# - repo: https://github.com/pre-commit/mirrors-prettier
# rev: "v4.0.0-alpha.8"
# hooks:
# - id: prettier
# types_or: [yaml, markdown, html, css, scss, javascript, json]
# args: [--prose-wrap=always]
- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.22
hooks:
- id: validate-pyproject