aboutsummaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
blob: 9ac267055e04ed51187e4384bbc48691f37adfe7 (plain) (blame)
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
repos:
  - repo: local
    hooks:
    - id: types 
      name: mypy
      language: system
      'types_or': [python, pyi]
      require_serial: true
      entry: mypy
    - id: analyze
      name: ruff
      language: system
      'types_or': [python, pyi]
      require_serial: true
      entry: ruff check
    - id: sort-imports 
      name: isort
      language: system
      'types_or': [python, pyi]
      require_serial: true
      entry: isort 
    - id: clean-imports 
      name: autoflake 
      language: system
      'types_or': [python, pyi]
      require_serial: true
      entry: autoflake 
    - id: format 
      name: black
      language: system
      'types_or': [python, pyi]
      require_serial: true
      entry: black