Skip to content

build/pkgs/numpy 2.0, scipy 1.13.1, cmake 3.29.5, contourpy 1.2.1, gsl 2.8, matplotlib 3.9.0, meson 1.4.1, meson_python 0.16.0, ninja_build 1.12.1, openblas 0.3.27, pybind11 2.12.0, pythran 0.16.1 #13698

build/pkgs/numpy 2.0, scipy 1.13.1, cmake 3.29.5, contourpy 1.2.1, gsl 2.8, matplotlib 3.9.0, meson 1.4.1, meson_python 0.16.0, ninja_build 1.12.1, openblas 0.3.27, pybind11 2.12.0, pythran 0.16.1

build/pkgs/numpy 2.0, scipy 1.13.1, cmake 3.29.5, contourpy 1.2.1, gsl 2.8, matplotlib 3.9.0, meson 1.4.1, meson_python 0.16.0, ninja_build 1.12.1, openblas 0.3.27, pybind11 2.12.0, pythran 0.16.1 #13698

Workflow file for this run

name: Lint
on:
push:
branches:
- master
- develop
pull_request:
merge_group:
concurrency:
# Cancel previous runs of this workflow for the same branch
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Merge CI fixes from sagemath/sage
run: |
.ci/merge-fixes.sh
env:
GH_TOKEN: ${{ github.token }}
SAGE_CI_FIXES_FROM_REPOSITORIES: ${{ vars.SAGE_CI_FIXES_FROM_REPOSITORIES }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install dependencies
id: deps
run: pip install tox
- name: Code style check with ruff-minimal
if: (success() || failure()) && steps.deps.outcome == 'success'
run: tox -e ruff-minimal
env:
# https://github.com/ChartBoost/ruff-action/issues/7#issuecomment-1887780308
RUFF_OUTPUT_FORMAT: github
- name: Code style check with pycodestyle-minimal
if: (success() || failure()) && steps.deps.outcome == 'success'
run: tox -e pycodestyle-minimal
- name: Code style check with relint
if: (success() || failure()) && steps.deps.outcome == 'success'
run: tox -e relint -- src/sage/
- name: Validate docstring markup as RST
if: (success() || failure()) && steps.deps.outcome == 'success'
run: tox -e rst