Skip to content

Commit dc9c60a

Browse files
committed
perf: remove remaining redundant .resolve() calls on pre-resolved paths
Drop .resolve() from ImportResolver, TestsCache, init_javascript, create_pr, and filter_functions where callers already pass resolved paths via CLI init or TestConfig.__post_init__. Also exclude test and fixture dirs from mypy to match ruff/ty config.
1 parent 27937d4 commit dc9c60a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@ warn_unreachable = true
207207
install_types = true
208208
plugins = ["pydantic.mypy"]
209209

210+
exclude = ["tests/", "code_to_optimize/", "pie_test_set/", "experiments/"]
211+
210212
[[tool.mypy.overrides]]
211213
module = ["jedi", "jedi.api.classes", "inquirer", "inquirer.themes", "numba"]
212214
ignore_missing_imports = true

0 commit comments

Comments
 (0)