-
Notifications
You must be signed in to change notification settings - Fork 27
/
.pre-commit-config.yaml
31 lines (31 loc) · 1.05 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
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 24.3.0 # This should be kept in sync with the version in requirements-dev.in
hooks:
- id: black
language_version: python3
files: gnomad_qc
- repo: https://github.com/pre-commit/mirrors-autopep8
rev: v2.0.2 # This should be kept in sync with the version in requirements-dev.in
hooks:
- id: autopep8
args: ["--exit-code", "--in-place"]
files: gnomad_qc
- repo: https://github.com/pycqa/isort
rev: 5.12.0 # This should be kept in sync with the version in requirements-dev.in
hooks:
- id: isort
args: ["--profile", "black", "--filter-files"]
files: gnomad_qc
- repo: https://github.com/pycqa/pydocstyle
rev: 6.3.0 # This should be kept in sync with the version in requirements-dev.in
hooks:
- id: pydocstyle
exclude: ^gnomad_qc/v2|^docs/