forked from theislab/single-cell-best-practices
-
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) · 859 Bytes
/
.pre-commit-config.yaml
File metadata and controls
30 lines (30 loc) · 859 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
fail_fast: false
default_language_version:
python: python3
default_stages:
- pre-commit
- pre-push
minimum_pre_commit_version: 2.16.0
repos:
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
hooks:
- id: prettier
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.7
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix, --unsafe-fixes]
exclude: |
(?x)^(
jupyter-book/chromatin_accessibility/gene_regulatory_networks_atac.ipynb
)$
- id: ruff-format
exclude: |
(?x)^(
jupyter-book/conditions/differential_gene_expression.ipynb|
.mypy_cache|
.pytest_cache|
dist|
jupyter-book/chromatin_accessibility/gene_regulatory_networks_atac.ipynb
)$