8000 fixed pre-commit config (#16) · ARMmbed/mbed-tools-lib@6487c8f · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jul 27, 2020. It is now read-only.

Commit 6487c8f

Browse files
authored
fixed pre-commit config (#16)
1 parent 826d5ef commit 6487c8f

File tree

2 files changed

+46
-33
lines changed

2 files changed

+46
-33
lines changed

.pre-commit-config.yaml

Lines changed: 45 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,52 @@
11
- repo: local
22
hooks:
3-
- id: licensing
4-
name: licensing
5-
entry: license-files
6-
language: python
7-
types: [file]
8-
require_serial: true
9-
verbose: true
3+
- id: assertnews
4+
name: news file
5+
entry: assert-news -l
6+
language: python
7+
types: [file]
8+
require_serial: true
9+
verbose: true
10+
always_run: true
11+
pass_filenames: false
1012

11-
- id: black
12-
name: black
13-
entry: black
14-
language: python
15-
types: [python]
16-
require_serial: true
13+
- id: licensing
14+
name: licensing
15+
entry: license-files
16+
language: python
17+
types: [file]
18+
require_serial: true
19+
always_run: true
20+
verbose: true
21+
pass_filenames: false
1722

18-
- id: flake8
19-
name: flake8
20-
entry: flake8
21-
language: python
22-
types: [python]
23-
require_serial: true
23+
- id: black
24+
name: black
25+
entry: black
26+
language: python
27+
types: [python]
28+
require_serial: true
2429

25-
- id: mypy
26-
name: mypy
27-
entry: mypy -p mbed_tools_lib
28-
language: python
29-
types: [python]
30-
require_serial: true
31-
pass_filenames: false
30+
- id: flake8
31+
name: flake8
32+
entry: flake8
33+
language: python
34+
types: [python]
35+
require_serial: true
3236

33-
- id: pytest
34-
name: pytest
35-
entry: pytest -vvv
36-
language: python
37-
types: [python]
38-
pass_filenames: false
39-
always_run: true
37+
- id: mypy
38+
name: mypy
39+
entry: mypy -p mbed_tools_lib
40+
language: python
41+
types: [python]
42+
require_serial: true
43+
pass_filenames: false
44+
45+
- id: pytest
46+
name: pytest
47+
entry: pytest -vvv
48+
language: python
49+
types: [python]
50+
pass_filenames: false
51+
always_run: true
4052

news/20200323.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixed pre-commit configuration

0 commit comments

Comments
 (0)
0