Skip to content

Finish the OpenGL context for offscreen windows #2

Finish the OpenGL context for offscreen windows

Finish the OpenGL context for offscreen windows #2

Workflow file for this run

name: CI lint
on:
push:
branches: ["main"]
paths:
- ".github/workflows/ci-lint.yml"
- "pyproject.toml"
- ".flake8"
- "src/**/*.py"
- "src/**/*.pyx"
- "src/**/*.pxd"
- "tests/**/*.py"
- "scripts/**/*.py"
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install linter dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 cython-lint
- name: Lint Python code with flake8
run: |
flake8 src tests scripts --count --show-source --statistics
- name: Lint Cython code with cython-lint
run: |
cython-lint src