Skip to content

Commit d18beef

Browse files
chore(deps): update pre-commit hook pre-commit/mirrors-mypy to v2 (#606)
* chore(deps): update pre-commit hook pre-commit/mirrors-mypy to v2 * update config Signed-off-by: gruebel <anton.gruebel@gmail.com> --------- Signed-off-by: gruebel <anton.gruebel@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: gruebel <anton.gruebel@gmail.com>
1 parent aa1366a commit d18beef

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ repos:
2929
additional_dependencies: [toml-fmt-common<1.3.3] # removed after fix https://github.com/tox-dev/toml-fmt/issues/355
3030

3131
- repo: https://github.com/pre-commit/mirrors-mypy
32-
rev: v1.20.0
32+
rev: v2.1.0
3333
hooks:
3434
- id: mypy
3535
priority: 1

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,8 @@ files = "openfeature,tests/typechecking"
108108
python_version = "3.10" # should be identical to the minimum supported version
109109
namespace_packages = true
110110
explicit_package_bases = true
111-
local_partial_types = true # will become the new default from version 2
112-
allow_redefinition_new = true # will become the new default from version 2
113-
fixed_format_cache = true # new caching mechanism
111+
native_parser = true # Rust-based parser will become default in the future
112+
num_workers = 2
114113
pretty = true
115114
strict = true
116115
disallow_any_generics = false

0 commit comments

Comments
 (0)