Skip to content

Commit

Permalink
modify black workflow for dev branch
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsweeten committed Apr 22, 2024
1 parent 5918b06 commit 8242997
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
name: Lint
name: black

on: [push, pull_request]
# Controls when the action will run.
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]

workflow_dispatch:

jobs:
lint:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v2
- uses: psf/black@stable
with:
options: "--check --verbose"
src: "./src"
use_pyproject: true
options: ". --check --verbose"

0 comments on commit 8242997

Please sign in to comment.