Create black.yml

This commit is contained in:
Yousef Abu Shanab 2025-04-10 02:23:51 -07:00 committed by GitHub
parent 6165e0c6bf
commit 9f9c83af65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

20
.github/workflows/black.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Black
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black
- name: Check code format with black
run: black --check .