Skip to content

Commit

Permalink
ruff 0.8 formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaspie committed Nov 26, 2024
1 parent 0e302aa commit 5944755
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pynxtools/nomad/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -616,8 +616,7 @@ def nexus_resolve_variadic_name(
fitting_definitions = definitions
if filter:
fitting_definitions = {}
for def_name in definitions:
definition = definitions[def_name]
for def_name, definition in definitions.items():
if filter in definition.inherited_sections:
fitting_definitions[def_name] = definition
return resolve_variadic_name(fitting_definitions, name, hint)
Expand Down

0 comments on commit 5944755

Please sign in to comment.