File: .pre-commit-config.yaml

package info (click to toggle)
aiorussound 4.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 264 kB
  • sloc: python: 986; makefile: 3
file content (24 lines) | stat: -rw-r--r-- 674 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
23
24
---
repos:
  - repo: local
    hooks:
      - id: ruff-check
        name: ๐Ÿถ Ruff Linter
        language: system
        types: [python]
        entry: poetry run ruff check --fix
        require_serial: true
        stages: [pre-commit, pre-push, manual]
      - id: ruff-format
        name: ๐Ÿถ Ruff Formatter
        language: system
        types: [python]
        entry: poetry run ruff format
        require_serial: true
        stages: [pre-commit, pre-push, manual]
      - id: pytest
        name: ๐Ÿงช Running tests and test coverage with pytest
        language: system
        types: [python]
        entry: poetry run pytest
        pass_filenames: false