๐Ÿ“ฆ NeoHuncho / vikunja-voice-assistant

๐Ÿ“„ .pre-commit-config.yaml ยท 41 lines
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
31
32
33
34
35
36
37
38
39
40
41default_language_version:
  python: python3.13

repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.6.0
    hooks:
      - id: trailing-whitespace
      - id: end-of-file-fixer
      - id: check-json
      - id: check-yaml
      - id: debug-statements
  - repo: https://github.com/astral-sh/ruff-pre-commit
    rev: v0.6.5
    hooks:
      - id: ruff
        args: [--fix, --show-fixes]
      - id: ruff-format
  - repo: local
    hooks:
      - id: translation-parity
        name: Translation key parity
        entry: python scripts/check_translations.py
        language: python
        pass_filenames: false
        additional_dependencies:
          - voluptuous
      - id: pytest
        name: Pytest quick run
        entry: python -m pytest -q
        language: python
        pass_filenames: false
        types: [python]
        additional_dependencies:
          - pytest>=8.0.0
          - pytest-asyncio>=0.23.0
          - pytest-mock>=3.12.0
          - pytest-cov>=5.0.0
          - voluptuous>=0.13.1
          - requests>=2.31.0