Skip to content

Merge pull request #79 from cai4cai/joss-revisions-main #92

Merge pull request #79 from cai4cai/joss-revisions-main

Merge pull request #79 from cai4cai/joss-revisions-main #92

Workflow file for this run

name: Lint
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install isort==6.0.1 black==25.1.0 flake8==7.3.0
- name: Check import sorting with isort
run: |
isort --check-only --diff .
- name: Check code formatting with black
run: |
black --check .
- name: Lint with flake8
run: |
flake8 . --count --show-source --statistics