forked from BiomedSciAI/fuse-med-ml
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
30 lines (30 loc) · 851 Bytes
/
.pre-commit-config.yaml
File metadata and controls
30 lines (30 loc) · 851 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
30
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: check-case-conflict
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.950
hooks:
- id: mypy
- repo: https://github.com/srstevenson/nb-clean
rev: "2.4.0"
hooks:
- id: nb-clean
args:
- --remove-empty-cells
- --preserve-cell-outputs
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.13.0
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
types_or: [python, pyi]
additional_dependencies: ["ruff"] # Ensure `ruff` is installed in the CI environment
- repo: https://github.com/psf/black
rev: 22.10.0
hooks:
- id: black