From 2afabc0e67002543bf43a9b1f369816792dead8b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Oct 2026 22:19:56 +0000 Subject: [PATCH 1/3] chore: update pre-commit hooks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/rbubley/mirrors-prettier: v3.9.4 → v3.9.9](https://github.com/rbubley/mirrors-prettier/compare/v3.9.4...v3.9.9) - [github.com/astral-sh/ruff-pre-commit: v0.15.20 → v0.16.10](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.20...v0.16.10) - [github.com/pre-commit/mirrors-mypy: v2.1.0 → v2.4.0](https://github.com/pre-commit/mirrors-mypy/compare/v2.1.0...v2.4.0) - [github.com/codespell-project/codespell: v2.4.2 → v2.4.3](https://github.com/codespell-project/codespell/compare/v2.4.2...v2.4.3) - [github.com/abravalheri/validate-pyproject: v0.25 → 0.26](https://github.com/abravalheri/validate-pyproject/compare/v0.25...0.26) - [github.com/python-jsonschema/check-jsonschema: 0.37.4 → 0.38.2](https://github.com/python-jsonschema/check-jsonschema/compare/0.37.4...0.38.2) --- .pre-commit-config.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index abab9e3..dcbd03e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -39,21 +39,21 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/rbubley/mirrors-prettier - rev: "v3.9.4" + rev: "v3.9.9" hooks: - id: prettier types_or: [yaml, markdown, html, css, scss, javascript, json] args: [--prose-wrap=always] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.15.20" + rev: "v0.16.10" hooks: - id: ruff args: ["--fix", "--show-fixes"] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v2.1.0" + rev: "v2.4.0" hooks: - id: mypy files: src|tests @@ -62,7 +62,7 @@ repos: - pytest - repo: https://github.com/codespell-project/codespell - rev: "v2.4.2" + rev: "v2.4.3" hooks: - id: codespell args: ["--toml", "pyproject.toml"] @@ -77,13 +77,13 @@ repos: exclude: .pre-commit-config.yaml - repo: https://github.com/abravalheri/validate-pyproject - rev: "v0.25" + rev: "0.26" hooks: - id: validate-pyproject additional_dependencies: ["validate-pyproject-schema-store[all]"] - repo: https://github.com/python-jsonschema/check-jsonschema - rev: "0.37.4" + rev: "0.38.2" hooks: - id: check-dependabot - id: check-github-workflows From 0d9ff842191f2e85df26b71cb51a943fed2d2358 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 6 Oct 2026 22:50:34 +0000 Subject: [PATCH 2/3] fix: add missing copyright notices for Ruff CPY001 Co-authored-by: nstarman <8949649+nstarman@users.noreply.github.com> --- docs/_static/make_logo.py | 1 + noxfile.py | 5 ++++- src/plotting_backends/_version.pyi | 1 + tests/__init__.py | 5 ++++- tests/test_package.py | 5 ++++- 5 files changed, 14 insertions(+), 3 deletions(-) diff --git a/docs/_static/make_logo.py b/docs/_static/make_logo.py index 376174e..cfea774 100644 --- a/docs/_static/make_logo.py +++ b/docs/_static/make_logo.py @@ -2,6 +2,7 @@ # requires-python = ">=3.11" # dependencies = ["resvg-py"] # /// +# Copyright (c) 2024 galax maintainers. All rights reserved. """Draw the plotting_backends logo: one plotting call, three backends. A dot, the plotting call, branching to three small charts. Each shows the same diff --git a/noxfile.py b/noxfile.py index 82a494a..61bab07 100644 --- a/noxfile.py +++ b/noxfile.py @@ -1,4 +1,7 @@ -"""Nox setup.""" +"""Copyright (c) 2024 galax maintainers. All rights reserved. + +Nox setup. +""" import os import shutil diff --git a/src/plotting_backends/_version.pyi b/src/plotting_backends/_version.pyi index 5bb2b22..97b68b8 100644 --- a/src/plotting_backends/_version.pyi +++ b/src/plotting_backends/_version.pyi @@ -1,2 +1,3 @@ +# Copyright (c) 2024 galax maintainers. All rights reserved. version: str version_tuple: tuple[int, int, int] | tuple[int, int, int, str, str] diff --git a/tests/__init__.py b/tests/__init__.py index d420712..3cd38d9 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1 +1,4 @@ -"""Tests.""" +"""Copyright (c) 2024 galax maintainers. All rights reserved. + +Tests. +""" diff --git a/tests/test_package.py b/tests/test_package.py index 1949427..a976b6e 100644 --- a/tests/test_package.py +++ b/tests/test_package.py @@ -1,4 +1,7 @@ -"""Test the package itself.""" +"""Copyright (c) 2024 galax maintainers. All rights reserved. + +Test the package itself. +""" import importlib.metadata From ee9c0b6857bf6f72d9a6bc975343c3234eb30a61 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 6 Oct 2026 22:51:07 +0000 Subject: [PATCH 3/3] fix: place make_logo copyright notice at file top Co-authored-by: nstarman <8949649+nstarman@users.noreply.github.com> --- docs/_static/make_logo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_static/make_logo.py b/docs/_static/make_logo.py index cfea774..633f0dc 100644 --- a/docs/_static/make_logo.py +++ b/docs/_static/make_logo.py @@ -1,8 +1,8 @@ +# Copyright (c) 2024 galax maintainers. All rights reserved. # /// script # requires-python = ">=3.11" # dependencies = ["resvg-py"] # /// -# Copyright (c) 2024 galax maintainers. All rights reserved. """Draw the plotting_backends logo: one plotting call, three backends. A dot, the plotting call, branching to three small charts. Each shows the same