File tree Expand file tree Collapse file tree 2 files changed +8
-15
lines changed Expand file tree Collapse file tree 2 files changed +8
-15
lines changed Original file line number Diff line number Diff line change 32
32
run : |
33
33
python -m pip install -U codecov
34
34
pip install -e ".[test]"
35
- - name : Lint code
36
- run : python -m pre_commit run --all
37
35
- name : Run the tests
38
36
if : ${{ !startsWith(matrix.python-version, 'pypy') && !startsWith(matrix.os, 'windows') }}
39
37
run : |
47
45
run : |
48
46
codecov
49
47
48
+ pre-commit :
49
+ runs-on : ubuntu-latest
50
+ steps :
51
+ - uses : actions/checkout@v2
52
+ - uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
53
+ - uses : jupyterlab/maintainer-tools/.github/actions/pre-commit@v1
54
+
50
55
test_miniumum_versions :
51
56
name : Test Minimum Versions
52
57
timeout-minutes : 20
Original file line number Diff line number Diff line change 9
9
language_version : python3 # Should be a command that runs python3.6+
10
10
11
11
- repo : https://github.com/PyCQA/isort
12
- rev : 5.11.4
12
+ rev : 5.12.0
13
13
hooks :
14
14
- id : isort
15
15
files : \.py$
16
16
args : [--profile=black]
17
17
18
- - repo : https://github.com/pycqa/flake8
19
- rev : 6.0.0
20
- hooks :
21
- - id : flake8
22
- additional_dependencies :
23
- [
24
- " flake8-bugbear==20.1.4" ,
25
- " flake8-logging-format==0.6.0" ,
26
- " flake8-implicit-str-concat==0.2.0" ,
27
- ]
28
- stages : [manual]
29
-
30
18
- repo : https://github.com/pre-commit/pre-commit-hooks
31
19
rev : v4.4.0
32
20
hooks :
You can’t perform that action at this time.
0 commit comments