File: .pre-commit-config.yaml

package info (click to toggle)
sourmash 4.8.14-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 41,976 kB
  • sloc: python: 56,131; ansic: 288; makefile: 269; sh: 6
file content (26 lines) | stat: -rw-r--r-- 711 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
repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v5.0.0
    hooks:
      - id: check-ast
      - id: check-builtin-literals
      - id: check-docstring-first
      - id: check-merge-conflict
      - id: check-yaml
      - id: check-toml
      - id: debug-statements
  - repo: https://github.com/astral-sh/ruff-pre-commit
    rev: v0.9.1
    hooks:
      - id: ruff-format
      - id: ruff
        args: ["--fix", "--unsafe-fixes", "--exit-non-zero-on-fix"]
#  - repo: https://github.com/tox-dev/tox-ini-fmt
#    rev: "1.3.1"
#    hooks:
#      - id: tox-ini-fmt
#        args: ["-p", "fix_lint"]
  - repo: meta
    hooks:
      - id: check-hooks-apply
      - id: check-useless-excludes