-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
43 lines (43 loc) · 1.29 KB
/
.pre-commit-config.yaml
File metadata and controls
43 lines (43 loc) · 1.29 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
40
41
42
43
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: end-of-file-fixer
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.2
hooks:
- id: ruff-check
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.11.0
hooks:
- id: black
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
hooks:
- id: codespell
types_or: [rst, markdown]
files: docs
additional_dependencies:
- tomli
- repo: https://github.com/pre-commit/mirrors-mypy
# pinned due to
# https://github.com/python/typeshed/pull/9771 and
# https://github.com/python/mypy/issues/15257 for DaskCollection.__dask_scheduler__
rev: v1.15.0
hooks:
- id: mypy
# Override default --ignore-missing-imports
# Use pyproject.toml if possible instead of adding command line parameters here
args: [--warn-unused-configs]
exclude: dask/dataframe/dask_expr/
additional_dependencies:
# Type stubs
# - pandas-stubs # TODO
- types-docutils
- types-PyYAML
- types-psutil
- types-requests
- types-setuptools
# Typed libraries
- numpy
- pytest