-
Notifications
You must be signed in to change notification settings - Fork 29
/
.pre-commit-config.yaml
30 lines (30 loc) · 1.02 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
---
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 tests
- 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 tests
- 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
- 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 tests