Skip to content

item.pyi: sync with item.pyx, add a test that they agree, refs #10021 #5579

item.pyi: sync with item.pyx, add a test that they agree, refs #10021

item.pyi: sync with item.pyx, add a test that they agree, refs #10021 #5579

Workflow file for this run

# https://black.readthedocs.io/en/stable/integrations/github_actions.html#usage
# See also what we use locally in requirements.d/codestyle.txt — this should be the same version here.
name: Lint
on:
push:
paths:
- '**.py'
- 'pyproject.toml'
- '.github/workflows/black.yaml'
pull_request:
paths:
- '**.py'
- 'pyproject.toml'
- '.github/workflows/black.yaml'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-26.04
timeout-minutes: 5
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: psf/black@258e7dbf348bc23cb70b8cdf693481c04634ebcc # 26.10.1
with:
version: "~= 24.0"