Skip to content

Commit 2e7ad77

Browse files
fix: resolve mypy arg-type error for package_json_path
1 parent 54a77c2 commit 2e7ad77

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

codeflash/code_utils/config_parser.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ def parse_config_file(
105105
use_package_json = package_json_depth >= pyproject_toml_depth
106106

107107
if use_package_json:
108+
assert package_json_path is not None
108109
result = parse_package_json_config(package_json_path)
109110
if result is not None:
110111
config, path = result

0 commit comments

Comments
 (0)