-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
47 lines (41 loc) · 1.18 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
41
42
43
44
45
46
47
files: "src\/hatch_cextensions\/.*|tests\/.*"
repos:
- repo: local
hooks:
- id: flake8
name: Flake8 linting
entry: hatch run lint:flake8
language: system
types: [python]
require_serial: true
- id: typing
name: Mypy type checking
entry: hatch run lint:typing
language: system
types: [python]
require_serial: true
stages: [push,manual]
- id: check-added-large-files
name: Check for added large files
entry: hatch run lint:check-added-large-files
language: system
- id: check-toml
name: Check Toml
entry: hatch run lint:check-toml
language: system
types: [toml]
- id: check-yaml
name: Check Yaml
entry: hatch run lint:check-yaml
language: system
types: [yaml]
- id: end-of-file-fixer
name: Fix End of Files
entry: hatch run lint:end-of-file-fixer
language: system
types: [text]
- id: trailing-whitespace
name: Trim Trailing Whitespace
entry: hatch run lint:trailing-whitespace-fixer
language: system
types: [text]