File size: 913 Bytes
149d481
 
aebeea2
149d481
 
 
 
 
 
 
 
 
 
 
aebeea2
149d481
 
 
 
 
3c05ff4
149d481
 
 
 
 
a763554
149d481
 
 
 
 
6c040f7
149d481
 
 
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
repos:
    - repo: https://github.com/pre-commit/pre-commit-hooks
      rev: v5.0.0
      hooks:
        - id: trailing-whitespace
        - id: end-of-file-fixer
        - id: debug-statements
        - id: requirements-txt-fixer
        - id: check-json
        - id: check-yaml
        - id: check-ast
        - id: check-merge-conflict

    - repo: https://github.com/psf/black
      rev: 24.10.0
      hooks:
        - id: black
          language_version: python3

    - repo: https://github.com/asottile/add-trailing-comma
      rev: v3.1.0
      hooks:
        - id: add-trailing-comma
          args: [--py36-plus]

    - repo: https://github.com/asottile/pyupgrade
      rev: v3.19.1
      hooks:
        - id: pyupgrade
          args: [--py36-plus]

    - repo: https://github.com/pycqa/isort
      rev: 5.13.2
      hooks:
        - id: isort
          args: ["--profile", "black", "--filter-files"]