mirror of
https://github.com/codeflash-ai/codeflash.git
synced 2026-05-04 18:25:17 +00:00
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.
This commit is contained in:
parent
27937d478a
commit
dc9c60a061
1 changed files with 2 additions and 0 deletions
|
|
@ -207,6 +207,8 @@ warn_unreachable = true
|
|||
install_types = true
|
||||
plugins = ["pydantic.mypy"]
|
||||
|
||||
exclude = ["tests/", "code_to_optimize/", "pie_test_set/", "experiments/"]
|
||||
|
||||
[[tool.mypy.overrides]]
|
||||
module = ["jedi", "jedi.api.classes", "inquirer", "inquirer.themes", "numba"]
|
||||
ignore_missing_imports = true
|
||||
|
|
|
|||
Loading…
Reference in a new issue