File: .pre-commit-config.yaml

package info (click to toggle)
findpython 0.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 216 kB
  • sloc: python: 1,432; makefile: 48
file content (30 lines) | stat: -rw-r--r-- 589 bytes parent folder | download
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
exclude: >
  (?x)^(
      \.eggs|
      \.git|
      \.mypy_cache|
      \.tox|
      \.pyre_configuration|
      \.venv|
      build|
      dist|
      src/findpython/_vendor/.*\.py|
      src/findpython/pep514tools/_registry\.py
  )$

repos:
  - repo: https://github.com/astral-sh/ruff-pre-commit
    rev: 'v0.9.7'
    hooks:
      - id: ruff
        args: [--fix, --exit-non-zero-on-fix, --show-fixes]

  - repo: https://github.com/ambv/black
    rev: 24.8.0
    hooks:
      - id: black

  - repo: https://github.com/pre-commit/mirrors-mypy
    rev: v1.4.1
    hooks:
      - id: mypy