Skip to content

Commit

Permalink
Updated solution to stalled lint. fixed2
Browse files Browse the repository at this point in the history
  • Loading branch information
Shettland committed Jun 6, 2024
1 parent 6feadce commit 4c7ba6c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/python_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ jobs:
- name: Check for Python file changes
id: file_check
uses: tj-actions/changed-files@v33
with:
since_last_remote_commit: true
files: |
**.py
- name: Run flake8
if: steps.file_check.outputs.any_changed == 'true'
run: flake8 --ignore E501,W503,E203,W605
Expand All @@ -44,6 +48,10 @@ jobs:
- name: Check for Python file changes
id: file_check
uses: tj-actions/changed-files@v34
with:
since_last_remote_commit: true
files: |
**.py
- name: Check code lints with Black
if: steps.file_check.outputs.any_changed == 'true'
uses: psf/black@stable
Expand Down

0 comments on commit 4c7ba6c

Please sign in to comment.