From de1c98fd41e6d84109dc7403f0b8d34e618edf8c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 29 May 2026 09:06:29 +0000 Subject: [PATCH 1/2] chore(deps): update pre-commit hook pre-commit/mirrors-mypy to v2 --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0498e2a5..e2a49d14 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,7 +29,7 @@ repos: additional_dependencies: [toml-fmt-common<1.3.3] # removed after fix https://github.com/tox-dev/toml-fmt/issues/355 - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.20.0 + rev: v2.1.0 hooks: - id: mypy priority: 1 From 4ee9d98c5ba8969355423c3502ea233fa43fe1bf Mon Sep 17 00:00:00 2001 From: gruebel Date: Fri, 29 May 2026 11:15:16 +0200 Subject: [PATCH 2/2] update config Signed-off-by: gruebel --- pyproject.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0f690ad3..b345e74d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -108,9 +108,8 @@ files = "openfeature,tests/typechecking" python_version = "3.10" # should be identical to the minimum supported version namespace_packages = true explicit_package_bases = true -local_partial_types = true # will become the new default from version 2 -allow_redefinition_new = true # will become the new default from version 2 -fixed_format_cache = true # new caching mechanism +native_parser = true # Rust-based parser will become default in the future +num_workers = 2 pretty = true strict = true disallow_any_generics = false