File: .pre-commit-config.yaml

package info (click to toggle)
cmd2 2.5.11%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 10,164 kB
  • sloc: python: 19,640; makefile: 73; sh: 67; javascript: 30
file content (22 lines) | stat: -rw-r--r-- 576 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: "v5.0.0"
    hooks:
      - id: check-case-conflict
      - id: check-merge-conflict
      - id: end-of-file-fixer
      - id: trailing-whitespace

  - repo: https://github.com/astral-sh/ruff-pre-commit
    rev: "v0.9.3"
    hooks:
      - id: ruff-format
        args: [--config=pyproject.toml]

  - repo: https://github.com/pre-commit/mirrors-prettier
    rev: "v3.1.0"
    hooks:
      - id: prettier
        additional_dependencies:
          - prettier@3.4.2
          - prettier-plugin-toml@2.0.1