Skip to content

Commit

Permalink
replaced flake8 github action with pre-commit action
Browse files Browse the repository at this point in the history
  • Loading branch information
jstucke committed Aug 16, 2024
1 parent 73d0e84 commit 79393f8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/Lintly-Flake8.yml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: pre-commit

on:
pull_request:

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
- uses: pre-commit/[email protected]
with:
extra_args: --from-ref ${{ github.event.pull_request.base.sha }} --to-ref ${{ github.event.pull_request.head.sha }}

0 comments on commit 79393f8

Please sign in to comment.