forked from RagnarGrootKoerkamp/BAPCtools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
33 lines (33 loc) · 1.01 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: end-of-file-fixer
exclude: ^test/
- id: trailing-whitespace
exclude: ^test/
- repo: https://github.com/psf/black
rev: 24.4.2
hooks:
- id: black
exclude: ^test/
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.0
hooks:
- id: mypy
additional_dependencies:
- argcomplete==3.4.0
- matplotlib==3.9.1
- ruamel.yaml==0.18.6
- questionary==2.0.1
- types-colorama==0.4.15.20240311
- types-PyYAML==6.0.12.20240311
- types-requests==2.32.0.20240712
args:
- --check-untyped-defs
- --exclude=test
- --no-incremental # Fixes ruamel.yaml, see https://stackoverflow.com/a/65223004
- --python-version=3.10
- --scripts-are-modules
#- --strict # TODO #102: Enable flag once everything has type annotations
exclude: ^test/