Add a black (code formatting) github action on PR and push

This commit is contained in:
Pim van Pelt
2022-04-22 13:06:21 +00:00
parent baaaaa67b5
commit d9e46b4041

14
.github/workflows/black.yml vendored Normal file
View File

@ -0,0 +1,14 @@
name: Lint
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: psf/black@stable
with:
options: "--check --verbose"
src: ". vppcfg"