|
a |
|
b/.pre-commit-config.yaml |
|
|
1 |
default_language_version: |
|
|
2 |
python: python3.11 |
|
|
3 |
|
|
|
4 |
exclude: tests/acceptance/external_studies/ |
|
|
5 |
|
|
|
6 |
repos: |
|
|
7 |
- repo: local |
|
|
8 |
hooks: |
|
|
9 |
- id: check |
|
|
10 |
name: check |
|
|
11 |
entry: just check |
|
|
12 |
language: system |
|
|
13 |
types: [python] |
|
|
14 |
require_serial: true |
|
|
15 |
pass_filenames: false |
|
|
16 |
|
|
|
17 |
- repo: https://github.com/pre-commit/pre-commit-hooks |
|
|
18 |
rev: v4.3.0 |
|
|
19 |
hooks: |
|
|
20 |
- id: trailing-whitespace |
|
|
21 |
- id: end-of-file-fixer |
|
|
22 |
- id: debug-statements |
|
|
23 |
- id: check-ast |
|
|
24 |
- id: check-json |
|
|
25 |
- id: check-toml |
|
|
26 |
- id: check-yaml |
|
|
27 |
# --unsafe is a workaround for the use of !! in mkdocs.yml. |
|
|
28 |
args: [--unsafe] |
|
|
29 |
- id: detect-private-key |