forked from pymedphys/pymedphys
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
36 lines (36 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
31
32
33
34
35
36
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/SimonBiggs/nbstripout
rev: 0a4fa37151ce3c2fb522bf64469224c831a41773
hooks:
- id: nbstripout
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
exclude: ^.*demographic\.000000$
- id: check-yaml
- id: check-toml
- id: check-added-large-files
args: ["--maxkb", "500"]
exclude: ^.*yarn-.*cjs$
- repo: https://github.com/timothycrosley/isort
rev: 5.13.2
hooks:
- id: isort
additional_dependencies: ["toml"]
files: ^lib/pymedphys/.*\.py$
- repo: https://github.com/ambv/black
rev: 24.3.0
hooks:
- id: black
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.1
hooks:
- id: pyupgrade
- repo: https://github.com/python-poetry/poetry
rev: "1.8"
hooks:
- id: poetry-check