Skip to content

Commit

Permalink
Update black Github Action to auto-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Bubobubobubobubo committed Jun 16, 2024
1 parent b19877e commit 3ba9ce3
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
name: Style Lint
name: Lint

on:
push:
branches:
- main
paths:
- '**.py'
pull_request:
on: [push, pull_request]

jobs:
formatter:
name: Run black
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: psf/black@stable
- uses: psf/black@stable

0 comments on commit 3ba9ce3

Please sign in to comment.