Skip to content

Commit f514fbd

Browse files
Apply ruff/flake8-simplify rule SIM118
Co-authored-by: Chris Markiewicz <[email protected]>
1 parent 1ce3a6f commit f514fbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/checkspecs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ def test_specs(self, uri):
375375
continue
376376
parent_metadata = []
377377
if "parent" in trait.__dict__:
378-
parent_metadata = list(trait.parent.__dict__.keys())
378+
parent_metadata = list(trait.parent.__dict__)
379379
if (
380380
key
381381
not in allowed_keys

0 commit comments

Comments
 (0)