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 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", ]