diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e86f0613..896ae38e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,14 +14,14 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.11.11 + rev: v0.11.12 hooks: - id: ruff args: ["--fix", "--show-fixes"] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.15.0 + rev: v1.16.0 hooks: - id: mypy name: mypy 3.11 on cibuildwheel/ diff --git a/bin/projects.py b/bin/projects.py index 029ef667..47a1dcb4 100755 --- a/bin/projects.py +++ b/bin/projects.py @@ -135,6 +135,7 @@ def fetch_icon(icon_name: str) -> None: document = xml.dom.minidom.parseString(original_svg_data) svgElement = document.documentElement + assert svgElement is not None assert svgElement.nodeName == "svg" svgElement.setAttribute("width", "16px") svgElement.setAttribute("fill", "#606060") diff --git a/pyproject.toml b/pyproject.toml index 4f3721c6..de326f08 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,6 +8,7 @@ version = "3.0.0b4" description = "Build Python wheels on CI with minimal configuration." readme = "README.md" license = "BSD-2-Clause" +license-files = ["LICENSE"] requires-python = ">=3.11" authors = [ { name = "Joe Rickerby", email = "joerick@mac.com" }, @@ -25,7 +26,6 @@ keywords = [ classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", - "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", @@ -102,7 +102,7 @@ addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"] junit_family = "xunit2" xfail_strict = true filterwarnings = ["error"] -log_cli_level = "info" +log_cli_level = "INFO" markers = [ "serial: tests that must *not* be run in parallel (deselect with '-m \"not serial\"')", ]