Skip to content

Cleanup, testing, and hardening #5

Cleanup, testing, and hardening

Cleanup, testing, and hardening #5

Workflow file for this run

name: Lint
on:
push:
pull_request:
permissions:
contents: read
env:
PYTHONNOUSERSITE: "1"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
static-analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: "3.11"
- name: Install linters
run: python -m pip install flake8==7.3.0 ruff==0.16.0
- name: Run Flake8
run: python -m flake8 pyCHX
- name: Check NumPy API and constant-condition compatibility
run: python -m ruff check --select NPY,SIM222 pyCHX