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 diff --git a/docs/_static/make_logo.py b/docs/_static/make_logo.py index 376174e..633f0dc 100644 --- a/docs/_static/make_logo.py +++ b/docs/_static/make_logo.py @@ -1,3 +1,4 @@ +# Copyright (c) 2024 galax maintainers. All rights reserved. # /// script # requires-python = ">=3.11" # dependencies = ["resvg-py"] 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