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 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