Skip to content

Apply ruff/flake8-pyi rule PYI063#187

Open
DimitriPapadopoulos wants to merge 1 commit intosethmlarson:mainfrom
DimitriPapadopoulos:PYI
Open

Apply ruff/flake8-pyi rule PYI063#187
DimitriPapadopoulos wants to merge 1 commit intosethmlarson:mainfrom
DimitriPapadopoulos:PYI

Conversation

@DimitriPapadopoulos
Copy link
Contributor

@DimitriPapadopoulos DimitriPapadopoulos commented Aug 6, 2025

PYI063 Use PEP 570 syntax for positional-only parameters

This change is not compatible with Python 3.7. Do you still require compatibility with Python 3.7 now that pip has moved to Python 3.9?

# Run 'python -m compileall' on an old Python version
# to ensure that pip can vendor truststore successfully.
runs-on: ubuntu-22.04 # pin to 22.04, as with 24.04 Python 3.7 is no longer available
name: compileall
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with:
python-version: "3.7"
- run: |
python -m compileall -qq -f src/truststore/

PYI063 Use PEP 570 syntax for positional-only parameters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant