Path 1: 170506 calls (0.96)

SpellingChecker (18125) ModifiedIterationChecker (17051) NonAsciiNameChecker (14908) LoggingChecker (9594) ClassChecker (7462) LambdaExpressionChecker...

False (101224) True (69282)

1def __gt__(self, other: Any) -> bool:
2        """Sorting of checkers."""
3        if not isinstance(other, BaseChecker):
4            return False
5        if self.name == MAIN_CHECKER_NAME:
6            return False
7        if other.name == MAIN_CHECKER_NAME:
8            return True
9        if type(self).__module__.startswith("pylint.checkers") and not type(
10            other
11        ).__module__.startswith("pylint.checkers"):
12            return False
13        return self.name > other.name
            

Path 2: 4363 calls (0.02)

PyLinter (4363)

True (4363)

1def __gt__(self, other: Any) -> bool:
2        """Sorting of checkers."""
3        if not isinstance(other, BaseChecker):
4            return False
5        if self.name == MAIN_CHECKER_NAME:
6            return False
7        if other.name == MAIN_CHECKER_NAME:
8            return True
9        if type(self).__module__.startswith("pylint.checkers") and not type(
10            other
11        ).__module__.startswith("pylint.checkers"):
12            return False
13        return self.name > other.name
            

Path 3: 2134 calls (0.01)

ModifiedIterationChecker (206) MisdesignChecker (115) ImplicitBooleanessChecker (88) StringConstantChecker (83) ClassChecker (80) NonAsciiNameChecker ...

False (1233) True (901)

1def __gt__(self, other: Any) -> bool:
2        """Sorting of checkers."""
3        if not isinstance(other, BaseChecker):
4            return False
5        if self.name == MAIN_CHECKER_NAME:
6            return False
7        if other.name == MAIN_CHECKER_NAME:
8            return True
9        if type(self).__module__.startswith("pylint.checkers") and not type(
10            other
11        ).__module__.startswith("pylint.checkers"):
12            return False
13        return self.name > other.name
            

Path 4: 6 calls (0.0)

OtherBasicChecker (2) DifferentBasicChecker (2) McCabeMethodChecker (1) LessBasicChecker (1)

False (6)

1def __gt__(self, other: Any) -> bool:
2        """Sorting of checkers."""
3        if not isinstance(other, BaseChecker):
4            return False
5        if self.name == MAIN_CHECKER_NAME:
6            return False
7        if other.name == MAIN_CHECKER_NAME:
8            return True
9        if type(self).__module__.startswith("pylint.checkers") and not type(
10            other
11        ).__module__.startswith("pylint.checkers"):
12            return False
13        return self.name > other.name
            

Path 5: 3 calls (0.0)

1 (3)

False (3)

1def __gt__(self, other: Any) -> bool:
2        """Sorting of checkers."""
3        if not isinstance(other, BaseChecker):
4            return False
5        if self.name == MAIN_CHECKER_NAME:
6            return False
7        if other.name == MAIN_CHECKER_NAME:
8            return True
9        if type(self).__module__.startswith("pylint.checkers") and not type(
10            other
11        ).__module__.startswith("pylint.checkers"):
12            return False
13        return self.name > other.name
            

Path 6: 3 calls (0.0)

OtherBasicChecker (1) TypeChecker (1) ImportsChecker (1)

False (3)

1def __gt__(self, other: Any) -> bool:
2        """Sorting of checkers."""
3        if not isinstance(other, BaseChecker):
4            return False
5        if self.name == MAIN_CHECKER_NAME:
6            return False
7        if other.name == MAIN_CHECKER_NAME:
8            return True
9        if type(self).__module__.startswith("pylint.checkers") and not type(
10            other
11        ).__module__.startswith("pylint.checkers"):
12            return False
13        return self.name > other.name