-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
40 lines (38 loc) · 928 Bytes
/
.pre-commit-config.yaml
File metadata and controls
40 lines (38 loc) · 928 Bytes
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
38
39
40
repos:
- repo: local
hooks:
# TODO: Apply changes and formating only over changed files
- id: isort
name: isort
# profile: black
stages: [commit]
language: system
entry: python -m isort
types: [python]
exclude: >
(?x)(
^hw1/omniglot_resized/*|
^hw1/dnc/*
)$
- id: black
name: black
stages: [commit]
language: system
entry: python -m black
types: [python]
exclude: >
(?x)(
^hw1/omniglot_resized/*|
^hw1/dnc/*
)$
# - id: flake8
# name: flake8
# stages: [commit]
# language: system
# entry: python -m flake8
# types: [python]
# exclude: >
# (?x)(
# ^hw1/omniglot_resized/*|
# ^hw1/dnc/*
# )$