From 4aa7d7e9c1abf879714fcac113f39d1b6d7e0de1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Jun 2025 23:36:28 -0400 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#2440) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.11.11 → v0.11.12](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.11...v0.11.12) - [github.com/pre-commit/mirrors-mypy: v1.15.0 → v1.16.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.15.0...v1.16.0) * chore: update some things for checks Signed-off-by: Henry Schreiner * chore: fully use PEP 639 licensing Signed-off-by: Henry Schreiner --------- Signed-off-by: Henry Schreiner Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Henry Schreiner --- .pre-commit-config.yaml | 4 ++-- bin/projects.py | 1 + pyproject.toml | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) 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\"')", ]