Skip to content

Commit e4e970a

Browse files
committed
STY: check Python import sorting in CI
1 parent 178dbc1 commit e4e970a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/lint.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches:
88
- master
99
jobs:
10-
python_formatting_check:
10+
python_linting:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Setup Python
@@ -18,5 +18,7 @@ jobs:
1818
uses: actions/checkout@v2
1919
- name: Install dev dependencies
2020
run: pip install -r requirements/dev_requirements.txt
21-
- name: Check that Python files are formatted correctly
21+
- name: Check order of Python imports
22+
run: isort --check-only --diff --quiet .
23+
- name: Check formatting of Python files
2224
run: black --check --diff .

0 commit comments

Comments
 (0)