Skip to content

Style test by xianxl #102

Style test by xianxl

Style test by xianxl #102

Workflow file for this run

name: style
run-name: Style test by ${{ github.actor }}
on:
# Trigger the workflow on push to main or any pull request
push:
branches:
- main
pull_request:
jobs:
style-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Black check
run: |
pip install black==24.8.0
black --diff --check projects
- name: isort check
run: |
pip install isort==5.13.2
isort --profile black --check projects