mirror of
https://github.com/mvt-project/mvt.git
synced 2026-07-15 08:57:21 +02:00
d79f6cbd7d
The black linter was only being run on pushes to main and not on opened PRs. We should run on both to avoid linting errors after a PR is merged.
17 lines
249 B
YAML
17 lines
249 B
YAML
name: Black
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
black:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: psf/black@stable
|
|
with:
|
|
options: "--check"
|