Add a black (code formatting) github action on PR and push
This commit is contained in:
14
.github/workflows/black.yml
vendored
Normal file
14
.github/workflows/black.yml
vendored
Normal 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"
|
||||
|
Reference in New Issue
Block a user