Skip to content

Commit

Permalink
#12 fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
kwabenantim committed Sep 21, 2024
1 parent 847912c commit 1ee9a5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cppwg/input/module_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def is_decl_in_source_path(self, decl: "declaration_t") -> bool: # noqa: F821
def sort_classes(self) -> None:
"""Sort the class info collection in inheritance order."""

def compare(class_info_0: "ClassInfo", class_info_1: "ClassInfo"):
def compare(class_info_0: "ClassInfo", class_info_1: "ClassInfo"): # noqa: F821
# Sort classes with no declarations to the bottom
if class_info_0.decls == class_info_1.decls:
return 0
Expand Down

0 comments on commit 1ee9a5b

Please sign in to comment.