1
0
Fork 0

Merging upstream version 1.31.1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-04-29 04:24:10 +02:00
parent bf2e4897d0
commit c8f71b8649
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
27 changed files with 387 additions and 394 deletions

View file

@ -45,6 +45,3 @@ jobs:
TERM: xterm
run: |
uv run tox -e py${{ matrix.python-version }}
- name: Run Style Checks
run: uv run tox -e style

30
.github/workflows/lint.yml vendored Normal file
View file

@ -0,0 +1,30 @@
name: lint
on:
pull_request:
paths-ignore:
- '**.md'
- 'AUTHORS'
jobs:
linters:
name: Linters
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
# todo
# remember to sync the ruff-check version number with pyproject.toml
# - name: Run ruff check
# uses: astral-sh/ruff-action@9828f49eb4cadf267b40eaa330295c412c68c1f9 # v3.2.2
# with:
# version: 0.11.5
# remember to sync the ruff-check version number with pyproject.toml
- name: Run ruff format
uses: astral-sh/ruff-action@9828f49eb4cadf267b40eaa330295c412c68c1f9 # v3.2.2
with:
version: 0.11.5
args: 'format --check'

View file

@ -46,8 +46,10 @@ jobs:
run: |
uv run tox -e py${{ matrix.python-version }}
- name: Run Style Checks
run: uv run tox -e style
# TODO enable style checks here and in CI for PRs
#
# - name: Run Style Checks
# run: uv run tox -e style
build:
runs-on: ubuntu-latest