Skip to content

Commit

Permalink
Pre-commit fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vloncar committed Nov 13, 2024
1 parent 5e5b81f commit 1214b65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/attr_doc_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
class AttrList:
def __init__(self, cls_name, cls_attrs) -> None:
self.cls_name = cls_name
self.config_attrs = [attr for attr in cls_attrs if attr.configurable == True]
self.config_attrs = [attr for attr in cls_attrs if attr.configurable is True]
self.type_attrs = [attr for attr in cls_attrs if attr.__class__.__name__ == 'TypeAttribute']
self.weight_attrs = [attr for attr in cls_attrs if attr.__class__.__name__ == 'WeightAttribute']
self.base_attrs = [attr for attr in cls_attrs if attr not in self.config_attrs + self.type_attrs + self.weight_attrs]
Expand Down

0 comments on commit 1214b65

Please sign in to comment.