Merging upstream version 1.31.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
bf2e4897d0
commit
c8f71b8649
27 changed files with 387 additions and 394 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
@ -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
30
.github/workflows/lint.yml
vendored
Normal 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'
|
6
.github/workflows/publish.yml
vendored
6
.github/workflows/publish.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue