Skip to content

Commit

Permalink
Merge pull request #36 from uberduck-ai/black-action
Browse files Browse the repository at this point in the history
Pre commit black
  • Loading branch information
sjkoelle committed Mar 5, 2024
2 parents 5761342 + 3693ad8 commit 8314f1c
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/python-black.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Python Black Format Check

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
format:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'

- name: Install Black
run: pip install black==23.3.0

- name: Check code formatting with Black
run: black --check openduck-py

0 comments on commit 8314f1c

Please sign in to comment.