Skip to content

Commit

Permalink
add a black github action
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasWaldmann committed Apr 5, 2024
1 parent c2148e4 commit 1f02429
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/black.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# 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-22.04
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
with:
version: "~= 24.0"

0 comments on commit 1f02429

Please sign in to comment.