forked from simpeg/simpeg
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
39 lines (37 loc) · 1.03 KB
/
.pre-commit-config.yaml
File metadata and controls
39 lines (37 loc) · 1.03 KB
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
37
38
39
default_language_version:
python: python3
default_stages: [pre-commit,pre-push]
fail_fast: false
repos:
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.1.0
hooks:
- id: black
language_version: python3.12
- repo: https://github.com/pycqa/flake8
rev: 7.1.2
hooks:
- id: flake8
language_version: python3.12
additional_dependencies:
- flake8-bugbear==23.12.2
- flake8-builtins==2.2.0
- flake8-mutable==1.2.0
- flake8-rst-docstrings==0.3.0
- flake8-docstrings==1.7.0
- flake8-pyproject==1.2.3
- repo: https://github.com/MiraGeoscience/pre-commit-hooks
rev: v1.1.0
hooks:
- id: prepare-commit-msg
- id: check-commit-msg
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-json
exclude_types: [jupyter]
- id: check-toml
- id: check-yaml
- id: check-added-large-files
- id: check-merge-conflict
- id: detect-private-key