ci: Run pre-commit checks in CI (#176)

Run the pre-commit checks in a github workflow to validate that a PR
or a direct push to the repo does not introduce new errors.
This commit is contained in:
Russell Bryant 2024-10-10 14:21:59 -04:00 committed by GitHub
parent 89d24a07f0
commit eba9d1ea14
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 50 additions and 5 deletions

10
.flake8
View file

@ -21,11 +21,11 @@ ignore =
optional-ascii-coding = True
exclude =
./.git,
./docs
./build
./docs/*,
./build,
./scripts,
./venv,
*.pyi
.pre-commit-config.yaml
*.md
*.pyi,
.pre-commit-config.yaml,
*.md,
.flake8