Skip to content

[MAINT] Refactor

[MAINT] Refactor #17

Workflow file for this run

---
name: isort
on:
push:
branches:
- master
pull_request:
branches:
- '*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
isort:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
allow-prereleases: false
- name: Install isort
shell: bash {0}
run: python -m pip install --upgrade pip isort
- name: Run isort
run: isort --diff --check --settings-path pyproject.toml .