3
0
Fork 0

fix: fix 'consider-using-set-comprehension' for pylint

This commit is contained in:
Lance Edgar 2025-08-30 19:38:57 -05:00
parent ab01f552e8
commit 7a0860363c
2 changed files with 2 additions and 1 deletions

View file

@ -8,6 +8,7 @@ enable=anomalous-backslash-in-string,
bare-except, bare-except,
broad-exception-caught, broad-exception-caught,
consider-using-f-string, consider-using-f-string,
consider-using-set-comprehension,
cyclic-import, cyclic-import,
dangerous-default-value, dangerous-default-value,
disallowed-name, disallowed-name,

View file

@ -200,7 +200,7 @@ class ProblemHandler(GenericHandler):
:returns: List of system keys. :returns: List of system keys.
""" """
checks = self.get_all_problem_checks() checks = self.get_all_problem_checks()
return sorted(set([check.system_key for check in checks])) return sorted({check.system_key for check in checks})
def get_system_title(self, system_key): def get_system_title(self, system_key):
""" """