diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5f3ef35..b643487 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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" @@ -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 @@ -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 }} diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 582d2f8..faf3c85 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -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" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0d54e48..569ca11 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 5323a05..155def5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" @@ -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 = [ @@ -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"]