From 06b11bf61a9bfeec805162d111dc3a0cc7b120a3 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 18:53:28 +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/tox-dev/pyproject-fmt: v2.21.2 → v2.23.0](https://github.com/tox-dev/pyproject-fmt/compare/v2.21.2...v2.23.0) - [github.com/astral-sh/ruff-pre-commit: v0.15.12 → v0.15.15](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.12...v0.15.15) --- .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 cc3dc0b..7a68025 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ repos: - id: check-hooks-apply - id: check-useless-excludes - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.21.2 + rev: v2.23.0 hooks: - id: pyproject-fmt - repo: https://github.com/lyz-code/yamlfix @@ -51,7 +51,7 @@ repos: hooks: - id: check-github-workflows - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.12 + rev: v0.15.15 hooks: - id: ruff-check args: From 6621a84283b80ae7b59faafb54bf8cc32532cc1b 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 18:53: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 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0f83cbd..9a21bf6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,13 +52,13 @@ Repository = "https://github.com/OpenSourceEconomics/dags" Tracker = "https://github.com/OpenSourceEconomics/dags/issues" [tool.hatch] +version.source = "vcs" +metadata.allow-direct-references = true build.hooks.vcs.version-file = "src/dags/_version.py" build.targets.sdist.exclude = [ "tests" ] build.targets.sdist.only-packages = true build.targets.wheel.only-include = [ "src" ] build.targets.wheel.sources = [ "src" ] -metadata.allow-direct-references = true -version.source = "vcs" [tool.pixi.dependencies] jupyterlab = "*" @@ -186,6 +186,7 @@ expand_tables = [ ] [tool.ty] +src.exclude = [ "docs/**/*.ipynb" ] rules.ambiguous-protocol-member = "error" rules.deprecated = "error" rules.division-by-zero = "error" @@ -197,12 +198,11 @@ rules.invalid-legacy-positional-parameter = "error" rules.redundant-cast = "error" rules.unused-awaitable = "error" rules.unused-ignore-comment = "error" -src.exclude = [ "docs/**/*.ipynb" ] [tool.pytest] +ini_options.norecursedirs = [ "docs" ] ini_options.addopts = [ "--pdbcls=pdbp:Pdb" ] ini_options.filterwarnings = [] -ini_options.norecursedirs = [ "docs" ] [tool.yamlfix] line_length = 88