Add pre-commit: black+flake8+pylint

This commit is contained in:
NanoCode012
2023-05-29 01:08:36 +09:00
parent a924a33b45
commit 36596adaf7
3 changed files with 36 additions and 0 deletions

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

@@ -0,0 +1,16 @@
name: pre-commit
on:
pull_request:
push:
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.9"
cache: 'pip' # caching pip dependencies
- uses: pre-commit/action@v3.0.0