Skip to content

Commit

Permalink
enforcing black formatter
Browse files Browse the repository at this point in the history
Signed-off-by: 2byrds <[email protected]>
  • Loading branch information
2byrds committed Jul 22, 2024
1 parent ea53e90 commit 45a17c8
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/python-formatting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Enforce Python Code Formatting

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
format-check:
runs-on: ubuntu-latest

steps:
- name: Check out the repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.x"

- name: Install black
run: pip install black

- name: Run black
run: black --check .

0 comments on commit 45a17c8

Please sign in to comment.