Skip to content

Commit

Permalink
opendatazurich#33 fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Kurz committed Jun 3, 2024
1 parent 07906c0 commit 5f87cf7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion ckanext/stadtzh_losdharvest/profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,13 @@ def _get_attributes(self, dataset_ref):
else:
attribute_name = speak_name

attributes.append({"attribute_name": attribute_name, "description": description, "position": position})
attributes.append(
{
"attribute_name": attribute_name,
"description": description,
"position": position
}
)

attributes.sort(key=lambda x: x["position"])

Expand Down

0 comments on commit 5f87cf7

Please sign in to comment.