From 6d356c6404025fb19c1e1bee892398a7167053e4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Jun 2026 20:18:29 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.15.14 → v0.15.15](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.14...v0.15.15) - [github.com/tox-dev/pyproject-fmt: v2.21.2 → v2.23.0](https://github.com/tox-dev/pyproject-fmt/compare/v2.21.2...v2.23.0) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e776235..936cf7b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -51,12 +51,12 @@ repos: - id: add-trailing-comma - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.14 + rev: v0.15.15 hooks: - id: ruff - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.21.2 + rev: v2.23.0 hooks: - id: pyproject-fmt From 088cc3dde562da84fd6987fb233b0d233e71ad72 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Jun 2026 20:18:47 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyproject.toml | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 133dfea..782be71 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,18 +45,18 @@ urls.repository = "https://github.com/python-windrose/windrose" [tool.setuptools] packages = [ "windrose" ] include-package-data = true +dynamic.dependencies = { file = [ "requirements.txt" ] } +dynamic.readme = { file = "README.md", content-type = "text/markdown" } license-files = [ "LICENSE.txt", "LICENCE_BSD-3-Clause.txt", "LICENCE_CECILL-B.txt", ] -dynamic.dependencies = { file = [ "requirements.txt" ] } -dynamic.readme = { file = "README.md", content-type = "text/markdown" } [tool.setuptools_scm] +tag_regex = "^(?Pv)?(?P[^\\+]+)(?P.*)?$" write_to = "windrose/_version.py" write_to_template = "__version__ = '{version}'" -tag_regex = "^(?Pv)?(?P[^\\+]+)(?P.*)?$" [tool.ruff] target-version = "py38" @@ -83,36 +83,36 @@ lint.per-file-ignores."samples/example_pdf_by.py" = [ "T201", ] -[tool.check-manifest] -ignore = [ - "*.yaml", - ".coveragerc", - "docs", - "docs/*", - "notebooks", - "notebooks/*", - "tests", - "tests/*", - "paper", - "paper/*", - "*.pyc", - ".binder/", - ".binder/*", -] - [tool.interrogate] +fail-under = 70 ignore-init-method = true ignore-init-module = false ignore-magic = false ignore-semiprivate = false ignore-private = false ignore-module = false -fail-under = 70 exclude = [ - "setup.py", "docs", + "setup.py", "tests", ] +color = true verbose = 1 quiet = false -color = true + +[tool.check-manifest] +ignore = [ + "*.pyc", + "*.yaml", + ".binder/", + ".binder/*", + ".coveragerc", + "docs", + "docs/*", + "notebooks", + "notebooks/*", + "paper", + "paper/*", + "tests", + "tests/*", +]