Skip to content

Commit

Permalink
style: ruff format
Browse files Browse the repository at this point in the history
  • Loading branch information
koebi committed May 29, 2024
1 parent 5f92c36 commit 4cdfdd0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ORStools/common/directions_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def get_extra_info_features_directions(
attr = extra[i]
attrs.append(attr)

if to_from_values: # for directions from two point layers
if to_from_values: # for directions from two point layers
attrs = [to_from_values[0], to_from_values[1]] + attrs
feat.setAttributes(attrs)

Expand Down
4 changes: 3 additions & 1 deletion ORStools/proc/directions_lines_proc.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,9 @@ def processAlgorithm(
)

if extra_info:
feats = directions_core.get_extra_info_features_directions(response, extra_info)
feats = directions_core.get_extra_info_features_directions(
response, extra_info
)
for feat in feats:
sink.addFeature(feat)
else:
Expand Down

0 comments on commit 4cdfdd0

Please sign in to comment.