File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 4
4
pull_request :
5
5
jobs :
6
6
lint :
7
- name : Check if any auto- fixes are needed
7
+ name : Checking if any fixes are needed
8
8
runs-on : ubuntu-latest
9
9
steps :
10
10
- uses : actions/checkout@v3
11
11
with :
12
12
fetch-depth : 0
13
13
- uses : actions/setup-python@v4
14
14
with :
15
- python-version : 3.x
15
+ python-version : 3.8
16
16
- id : changed-files
17
17
uses : tj-actions/changed-files@v36
18
18
-
uses :
pre-commit/[email protected]
Original file line number Diff line number Diff line change @@ -18,8 +18,17 @@ repos:
18
18
hooks :
19
19
- id : clang-format
20
20
files : \.((((c|C)(c|pp|xx|\+\+)?$)|((h|H)h?(pp|xx|\+\+)?$))|(ino))$
21
+ - repo : https://github.com/psf/black-pre-commit-mirror
22
+ rev : 22.10.0
23
+ hooks :
24
+ - id : black
25
+ language_version : python3.8
21
26
- repo : https://github.com/PyCQA/flake8
22
27
rev : 7.0.0
23
28
hooks :
24
29
- id : flake8
25
30
files : \.(((py)(w|o)?$))$
31
+ additional_dependencies :
32
+ - flake8-bugbear
33
+ - flake8-comprehensions
34
+ - flake8-simplify
Original file line number Diff line number Diff line change
1
+ [tool .black ]
2
+ line-length = 120
You can’t perform that action at this time.
0 commit comments