Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
# export it as the toga-winforms-scoped pretend version. This ensures that later
# modifications don't cause a `.devN+...` version.
- name: Set up Python
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.X"

Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
python-version: ["3.11", "3.14"]
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: ${{ github.repository }}
fetch-depth: 0 # Fetch all refs so setuptools_scm can generate the correct version number
Expand All @@ -134,7 +134,7 @@ jobs:
path: dist

- name: Set up Python
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: ${{ matrix.python-version }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
persist-credentials: false

- name: Set up Python
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.X"

Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.22
rev: v0.16.0
hooks:
- id: ruff-check
args: [--fix]
- id: ruff-format
- repo: https://github.com/rvben/rumdl-pre-commit
rev: v0.2.34
rev: v0.2.43
hooks:
- id: rumdl
- repo: https://github.com/zizmorcore/zizmor-pre-commit
rev: v1.27.0
rev: v1.28.0
hooks:
- id: zizmor
12 changes: 8 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build-system]
requires = [
"setuptools==83.0.0",
"setuptools_scm==10.2.0",
"setuptools_scm==10.2.1",
]
build-backend = "setuptools.build_meta"

Expand Down Expand Up @@ -46,15 +46,15 @@ Source = "https://github.com/beeware/dotnet-WebView2.WinForms"
# Extras used by developers *of* this library are pinned to specific versions to
# ensure environment consistency.
pre-commit = [
"pre-commit == 4.6.0",
"pre-commit == 4.6.1",
]

setuptools-scm = [
"setuptools_scm == 10.2.0",
"setuptools_scm == 10.2.1",
]

update = [
"httpx2 == 2.9.0",
"httpx2 == 2.9.1",
]

dev = [
Expand Down Expand Up @@ -85,6 +85,10 @@ extend-select = [
# "SIM", # flake8-simplify
]

[tool.ruff.lint.per-file-ignores]
# PEP8 module naming conventions aren't appropriate
"src/WebView2/__init__.py" = ["N999"]

[tool.rumdl]
flavor = "mkdocs"
include = ["**/*.md"]
Expand Down