File: .pre-commit-config.yaml

package info (click to toggle)
python-nbxmpp 6.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,332 kB
  • sloc: python: 19,501; makefile: 4
file content (18 lines) | stat: -rw-r--r-- 506 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
repos:
  - repo: https://github.com/charliermarsh/ruff-pre-commit
    rev: v0.9.7
    hooks:
      - id: ruff
        exclude: ".githooks/"

  - repo: https://github.com/pycqa/isort
    rev: 5.13.2
    hooks:
      - id: isort

  - repo: https://github.com/psf/black
    # The `refs/tags/<tag>:refs/tags/<tag>` is needed for black's required-version to work:
    # https://github.com/psf/black/issues/2493#issuecomment-1081987650
    rev: 'refs/tags/24.10.0:refs/tags/24.10.0'
    hooks:
      - id: black