From 02e8a16e2b37f873db7ecec8556118dff63192e2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Mar 2026 20:04:14 +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.14.14 → v0.15.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.14...v0.15.4) - [github.com/tox-dev/pyproject-fmt: v2.12.1 → v2.16.2](https://github.com/tox-dev/pyproject-fmt/compare/v2.12.1...v2.16.2) --- .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 40fc129..576c400 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.14.14 + rev: v0.15.4 hooks: - id: ruff - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.12.1 + rev: v2.16.2 hooks: - id: pyproject-fmt From 59096f38955d79482ed4225dfe84bb87096fbd13 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Mar 2026 20:09:41 +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 | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ca8c699..36338ba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,9 +52,8 @@ license-files = [ "LICENCE_BSD-3-Clause.txt", "LICENCE_CECILL-B.txt", ] -[tool.setuptools.dynamic] -dependencies = { file = [ "requirements.txt" ] } -readme = { file = "README.md", content-type = "text/markdown" } +dynamic.dependencies = { file = [ "requirements.txt" ] } +dynamic.readme = { file = "README.md", content-type = "text/markdown" } [tool.setuptools_scm] write_to = "windrose/_version.py" @@ -64,7 +63,6 @@ tag_regex = "^(?Pv)?(?P[^\\+]+)(?P.*)?$" [tool.ruff] target-version = "py38" line-length = 79 - lint.select = [ "A", # flake8-builtins "B", # flake8-bugbear @@ -80,7 +78,6 @@ lint.per-file-ignores."docs/conf.py" = [ lint.per-file-ignores."notebooks/usage.ipynb" = [ "T201", ] - lint.per-file-ignores."samples/example_by.py" = [ "T201", ]