Skip to content

Commit

Permalink
Apply ruff/flake8-simplify rule SIM118
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Markiewicz <[email protected]>
  • Loading branch information
DimitriPapadopoulos and effigies authored Oct 6, 2024
1 parent e87a80f commit 1ce3a6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/checkspecs.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def test_specs(self, uri):
continue
parent_metadata = []
if "parent" in trait.__dict__:
parent_metadata = list(trait.parent.__dict__.keys())
parent_metadata = list(trait.parent.__dict__)
if (
key
not in allowed_keys
Expand Down

0 comments on commit 1ce3a6f

Please sign in to comment.