Skip to content

Commit ece9410

Browse files
authored
Merge pull request #105 from elliot-100/lint-with-isort
ci: enforce isort
2 parents dc4509a + c489042 commit ece9410

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/python-package.yml

+5
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ jobs:
3131
virtualenvs-in-project: true
3232
- name: Install project
3333
run: poetry install
34+
- name: Lint imports with isort
35+
# By default: exit with error if imports are not properly sorted
36+
uses: isort/isort-action@master
37+
with:
38+
configuration: profile = black
3439
- name: Lint with black
3540
# by default: exit with error if the code is not properly formatted; show diffs
3641
uses: psf/black@stable

0 commit comments

Comments
 (0)