summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
blob: f49864e0c567a38884371da90bf286b2771b82e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
  rev: v4.5.0
  hooks:
  - id: end-of-file-fixer
  - id: trailing-whitespace
- repo: https://github.com/charliermarsh/ruff-pre-commit
  rev: v0.1.8
  hooks:
  - id: ruff
    args: ['--ignore=E741,E501', '.',]
  - id: ruff-format
    # 88 is the black default
    args: ['--line-length=88', '.',]