Skip to content

add lint ci

add lint ci #1

Workflow file for this run

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/"