cyyeh commited on
Commit
2ffc0ff
1 Parent(s): 1903343
Files changed (1) hide show
  1. .pre-commit-config.yaml +6 -7
.pre-commit-config.yaml CHANGED
@@ -5,29 +5,28 @@ repos:
5
  name: isort
6
  stages: [commit]
7
  language: system
8
- entry: pipenv run isort py_code_analyzer
9
  types: [python]
10
 
11
  - id: black
12
  name: black
13
  stages: [commit]
14
  language: system
15
- entry: pipenv run black py_code_analyzer
16
  types: [python]
17
 
18
  - id: flake8
19
  name: flake8
20
  stages: [commit]
21
  language: system
22
- entry: pipenv run flake8 py_code_analyzer
23
  types: [python]
24
- exclude: setup.py
25
 
26
  - id: mypy
27
  name: mypy
28
  stages: [commit]
29
  language: system
30
- entry: pipenv run mypy py_code_analyzer
31
  types: [python]
32
  pass_filenames: false
33
 
@@ -35,13 +34,13 @@ repos:
35
  # name: pytest
36
  # stages: [commit]
37
  # language: system
38
- # entry: pipenv run pytest py_code_analyzer
39
  # types: [python]
40
 
41
  # - id: pytest-cov
42
  # name: pytest
43
  # stages: [push]
44
  # language: system
45
- # entry: pipenv run pytest --cov py_code_analyzer
46
  # types: [python]
47
  # pass_filenames: false
 
5
  name: isort
6
  stages: [commit]
7
  language: system
8
+ entry: pipenv run isort py_code_analyzer app.py
9
  types: [python]
10
 
11
  - id: black
12
  name: black
13
  stages: [commit]
14
  language: system
15
+ entry: pipenv run black py_code_analyzer app.py
16
  types: [python]
17
 
18
  - id: flake8
19
  name: flake8
20
  stages: [commit]
21
  language: system
22
+ entry: pipenv run flake8 py_code_analyzer app.py
23
  types: [python]
 
24
 
25
  - id: mypy
26
  name: mypy
27
  stages: [commit]
28
  language: system
29
+ entry: pipenv run mypy py_code_analyzer app.py
30
  types: [python]
31
  pass_filenames: false
32
 
 
34
  # name: pytest
35
  # stages: [commit]
36
  # language: system
37
+ # entry: pipenv run pytest tests
38
  # types: [python]
39
 
40
  # - id: pytest-cov
41
  # name: pytest
42
  # stages: [push]
43
  # language: system
44
+ # entry: pipenv run pytest --cov tests
45
  # types: [python]
46
  # pass_filenames: false