summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
blob: a821eeefb16be80cc545069805172083f7d1f43f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
repos:
- repo: local
  hooks:
  - id: linter
    name: Apply linter fixes
    entry: ruff check --fix .
    language: system
    types: [python]
    require_serial: true
  - id: format
    name: Apply formatting fixes
    entry: autopep8 --in-place .
    language: system
    types: [python]