.pre-commit-config.yaml 501 Bytes
Newer Older
Omkar Salpekar's avatar
Omkar Salpekar committed
1
2
3
default_language_version:
  node: 16.14.2

4
5
6
7
8
9
10
11
12
13
14
repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.0.1
    hooks:
      - id: check-docstring-first
      - id: check-toml
      - id: check-yaml
        exclude: packaging/.*
      - id: end-of-file-fixer

  - repo: https://github.com/omnilib/ufmt
moto's avatar
moto committed
15
    rev: v1.3.2
16
17
18
    hooks:
      - id: ufmt
        additional_dependencies:
moto's avatar
moto committed
19
20
21
22
          - black == 22.3
          - usort == 1.0.2
          - libcst == 0.4.1
        exclude: examples