forked from hail-is/hail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
37 lines (37 loc) · 970 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
---
default_install_hook_types: [pre-commit, pre-push]
repos:
- repo: local
hooks:
- id: ruff
name: ruff
entry: ruff --fix --show-fixes
language: system
types: [python]
require_serial: true
- id: ruff-format
name: ruff-format
entry: ruff format
language: system
types: [python]
require_serial: true
- id: pyright
name: pyright
entry: pyright
language: system
types: [python]
require_serial: true
exclude: hail/python/(hail|test)
stages:
- pre-push
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/thibaudcolas/curlylint
rev: v0.13.1
hooks:
- id: curlylint
types: [file] # By default only runs on .jinja files, this disables that
files: \.html$