File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ def _children(node: JSONPathNode) -> Iterable[JSONPathNode]:
129129 )
130130 elif isinstance (node .value , list ):
131131 for i , element in enumerate (node .value ):
132- if isinstance (val , (dict , list )):
132+ if isinstance (element , (dict , list )):
133133 yield JSONPathNode (
134134 value = element ,
135135 location = node .location + (i ,),
Original file line number Diff line number Diff line change @@ -55,8 +55,8 @@ dependencies = [
5555]
5656
5757[tool .hatch .envs .default .scripts ]
58- cov = " pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=jsonpath --cov=tests {args}"
59- cov-html = " pytest --cov-report=html --cov-config=pyproject.toml --cov=jsonpath --cov=tests {args}"
58+ cov = " pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=jsonpath_rfc9535 --cov=tests {args}"
59+ cov-html = " pytest --cov-report=html --cov-config=pyproject.toml --cov=jsonpath_rfc9535 --cov=tests {args}"
6060no-cov = " cov --no-cov {args}"
6161test = " pytest {args}"
6262lint = " ruff check ."
File renamed without changes.
You can’t perform that action at this time.
0 commit comments