[e988c2]: / .pre-commit-config.yaml

Download this file

30 lines (26 with data), 656 Bytes

 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
default_language_version:
python: python3.11
exclude: tests/acceptance/external_studies/
repos:
- repo: local
hooks:
- id: check
name: check
entry: just check
language: system
types: [python]
require_serial: true
pass_filenames: false
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: debug-statements
- id: check-ast
- id: check-json
- id: check-toml
- id: check-yaml
# --unsafe is a workaround for the use of !! in mkdocs.yml.
args: [--unsafe]
- id: detect-private-key