forked from ENSTA-U2IS-AI/torch-uncertainty
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
40 lines (40 loc) · 999 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
35
36
37
38
39
40
repos:
- repo: local
hooks:
- id: end-of-file-fixer
name: end-of-file-fixer
entry: end-of-file-fixer
language: system
types: [text]
- id: check-toml
name: check-toml
entry: check-toml
language: system
types: [toml]
- id: check-yaml
name: check-yaml
language: system
entry: check-yaml
types: [yaml]
- id: check-merge-conflict
name: check-merge-conflict
entry: check-merge-conflict
language: system
- id: check-added-large-files
name: check-added-large-files
entry: check-added-large-files
language: system
- id: ruff-check
name: ruff-check
entry: ruff check
language: python
types_or: [python, pyi]
require_serial: true
args: [--force-exclude, --fix, --exit-non-zero-on-fix, --output-format, concise]
exclude: ^auto_tutorials_source/
- id: ruff-format
name: ruff-format
entry: ruff format
language: python
types_or: [python, pyi]
exclude: ^auto_tutorials_source/