Skip to content

Commit

Permalink
add action black
Browse files Browse the repository at this point in the history
  • Loading branch information
hadifawaz1999 committed Jul 21, 2024
1 parent 8b903e9 commit 8e2d36c
Showing 1 changed file with 16 additions and 0 deletions.
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:
push:
branches: [main]

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/[email protected]
with:
extra_args: flake8 --all-files

0 comments on commit 8e2d36c

Please sign in to comment.