Skip to content

Commit

Permalink
add lint ci
Browse files Browse the repository at this point in the history
  • Loading branch information
maybenotilya authored Sep 26, 2024
1 parent 418efec commit ea79ffc
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Lint

on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.12"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black
- name: Check code style with Black
run: |
black . --diff --color --force-exclude "/DCA/DCA/"

0 comments on commit ea79ffc

Please sign in to comment.