Skip to content

Commit

Permalink
Update lint.yml
Browse files Browse the repository at this point in the history
- disable flake8
- enable black
- enable (black_)auto_fix ONLY for pull requests, not for pushing to main directly
  • Loading branch information
rieder authored May 1, 2024
1 parent 8ef554d commit 4c4a0ef
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,8 @@ jobs:
- name: Run linters
uses: wearerequired/lint-action@v2
with:
auto_fix: ${{ github.event_name == 'pull_request' }}
black: true
flake8: true
black_auto_fix: ${{ github.event_name == 'pull_request' }}
flake8: false
flake8_auto_fix: false

0 comments on commit 4c4a0ef

Please sign in to comment.