Skip to content

Commit

Permalink
Try out Darker GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
akaihola committed Mar 20, 2022
1 parent 384cd16 commit 0dd2838
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,11 @@ jobs:
- name: Test with pytest
run: >
pytest
- name: Check formatting and linting with Darker
run: >
darker
--diff
--check
--revision=origin/master...
--isort
--lint=pylint
--lint=flake8
- uses: akaihola/darker@gh-action-linters
with:
options: --check --diff --isort
revision: origin/master...
lint: flake8,pylint
.
- name: Do static type checking with Mypy
run: >
Expand Down

0 comments on commit 0dd2838

Please sign in to comment.