Skip to content

Merge pull request #32 from WISDEM/develop #117

Merge pull request #32 from WISDEM/develop

Merge pull request #32 from WISDEM/develop #117

Workflow file for this run

name: Format code with Black
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
jobs:
format:
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.12' # Specify the Python version you want to use
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black
- name: Run Black
run: |
black --check . # This checks if the code is formatted correctly