Add github action for pre-commit enforcement

This commit is contained in:
David Dworken 2023-09-23 12:46:16 -07:00
parent ab12fa4d47
commit 2608230ec7
No known key found for this signature in database

17
.github/workflows/pre-commit.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: pre-commit
on:
pull_request:
push:
branches: [ master ]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/action@v3.0.0
with:
extra_args: --all-files