borg/.github/workflows/black.yaml

16 lines
376 B
YAML

# https://black.readthedocs.io/en/stable/integrations/github_actions.html#usage
# see also what we use locally, requirements.d/codestyle.txt - should be the same version here.
name: Lint
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: psf/black@stable
with:
version: "~= 23.0"