Skip to content

Enable isort within Ruff configuration #61

Enable isort within Ruff configuration

Enable isort within Ruff configuration #61

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
Analyze:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: [3.9, '3.10', '3.11', '3.12', '3.13']
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.version }}
- name: Install Tox
run: |
pip install "tox>=4.18.1,<5"
- name: Lint Codebase
run: |
RAW_PYTHON_VERSION=${{ matrix.version }}
PYTHON_VERSION=$(echo $RAW_PYTHON_VERSION | sed 's/\.//')
tox -e py$PYTHON_VERSION