File tree Expand file tree Collapse file tree 2 files changed +16
-12
lines changed Expand file tree Collapse file tree 2 files changed +16
-12
lines changed Original file line number Diff line number Diff line change 14
14
runs-on : ubuntu-latest
15
15
steps :
16
16
- uses : actions/checkout@v4
17
- - uses : psf/black@stable
18
-
19
- check-file-headers :
20
- runs-on : ubuntu-latest
21
- steps :
22
- - uses : actions/checkout@v4
23
- - uses : actions/setup-python@v4
24
- with :
25
- python-version : 3.12
26
- - name : Check header
27
- run : python ./check_header.py
28
- shell : bash
17
+ -
uses :
pre-commit/[email protected]
29
18
30
19
test :
31
20
runs-on : ${{ matrix.os }}
Original file line number Diff line number Diff line change
1
+ ---
2
+ repos :
3
+ - repo : https://github.com/psf/black-pre-commit-mirror
4
+ rev : 24.10.0
5
+ hooks :
6
+ - id : black
7
+ - repo : local
8
+ hooks :
9
+ - id : check-headers
10
+ name : check headers
11
+ language : script
12
+ entry : check_header.py
13
+ pass_filenames : false
14
+ require_serial : true
15
+ types : [python]
You can’t perform that action at this time.
0 commit comments