Skip to content

Commit

Permalink
Create black.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaos599 authored Oct 27, 2024
1 parent e99bf27 commit e251364
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Lint Code Base

on: [push, pull_request]

jobs:
lint:
runs-on: ubuntu-latest

steps:
- name: Checkout code
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 --diff package/

0 comments on commit e251364

Please sign in to comment.