Diff of /.pre-commit-config.yaml [000000] .. [6ff4a8]

Switch to unified view

a b/.pre-commit-config.yaml
1
fail_fast: false
2
default_language_version:
3
  python: python3
4
default_stages:
5
  - pre-commit
6
  - pre-push
7
minimum_pre_commit_version: 3.0.0
8
repos:
9
  - repo: https://github.com/pre-commit/mirrors-mypy
10
    rev: v1.15.0
11
    hooks:
12
      - id: mypy
13
        additional_dependencies: [numpy>=1.25.0]
14
        files: ^src
15
  - repo: https://github.com/psf/black
16
    rev: 25.1.0
17
    hooks:
18
      - id: black
19
        additional_dependencies: [toml]
20
  - repo: https://github.com/pre-commit/mirrors-prettier
21
    rev: v4.0.0-alpha.8
22
    hooks:
23
      - id: prettier
24
        language_version: system
25
  - repo: https://github.com/PyCQA/isort
26
    rev: 6.0.1
27
    hooks:
28
      - id: isort
29
        additional_dependencies: [toml]
30
        args: [--order-by-type]
31
  - repo: https://github.com/pre-commit/pre-commit-hooks
32
    rev: v5.0.0
33
    hooks:
34
      - id: check-merge-conflict
35
      - id: check-ast
36
      - id: check-added-large-files
37
      - id: end-of-file-fixer
38
      - id: mixed-line-ending
39
        args: [--fix=lf]
40
      - id: trailing-whitespace
41
      - id: check-docstring-first
42
      - id: check-yaml
43
      - id: check-toml
44
  - repo: https://github.com/asottile/pyupgrade
45
    rev: v3.19.1
46
    hooks:
47
      - id: pyupgrade
48
        args: [--py3-plus, --py38-plus, --keep-runtime-typing]
49
  - repo: https://github.com/asottile/blacken-docs
50
    rev: 1.19.1
51
    hooks:
52
      - id: blacken-docs
53
        additional_dependencies: [black==23.1.0]
54
  - repo: https://github.com/rstcheck/rstcheck
55
    rev: v6.2.4
56
    hooks:
57
      - id: rstcheck
58
        additional_dependencies: [toml, sphinx]
59
        args: [--config=pyproject.toml]
60
  - repo: https://github.com/PyCQA/doc8
61
    rev: v1.1.2
62
    hooks:
63
      - id: doc8
64
  - repo: https://github.com/astral-sh/ruff-pre-commit
65
    # Ruff version.
66
    rev: v0.11.4
67
    hooks:
68
      - id: ruff
69
        args: [--fix, --exit-non-zero-on-fix]