Skip to content

Commit ea6ae43

Browse files
authored
Merge pull request #175 from blink1073/fix-isort
Fix-isort-version
2 parents 192ea82 + 2144cfc commit ea6ae43

File tree

2 files changed

+8
-15
lines changed

2 files changed

+8
-15
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ jobs:
3232
run: |
3333
python -m pip install -U codecov
3434
pip install -e ".[test]"
35-
- name: Lint code
36-
run: python -m pre_commit run --all
3735
- name: Run the tests
3836
if: ${{ !startsWith(matrix.python-version, 'pypy') && !startsWith(matrix.os, 'windows') }}
3937
run: |
@@ -47,6 +45,13 @@ jobs:
4745
run: |
4846
codecov
4947
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+
5055
test_miniumum_versions:
5156
name: Test Minimum Versions
5257
timeout-minutes: 20

.pre-commit-config.yaml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,12 @@ repos:
99
language_version: python3 # Should be a command that runs python3.6+
1010

1111
- repo: https://github.com/PyCQA/isort
12-
rev: 5.11.4
12+
rev: 5.12.0
1313
hooks:
1414
- id: isort
1515
files: \.py$
1616
args: [--profile=black]
1717

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-
3018
- repo: https://github.com/pre-commit/pre-commit-hooks
3119
rev: v4.4.0
3220
hooks:

0 commit comments

Comments
 (0)