Showing 4,191 of 4,191 total issues
Wrong hanging indentation before block (add 4 spaces). Open
tokenizer: Optional[_Tokenizer] = None,
- Read upRead up
- Exclude checks
TODO tokenizer: Optional[_Tokenizer] = None, ^ |
Variable name a
doesn't conform to snake_case naming style Open
a = self._intersection_card()
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).
Wrong hanging indentation before block (add 4 spaces). Open
s_type == 'X'
- Read upRead up
- Exclude checks
TODO s_type == 'X' ^ |
Wrong hanging indentation before block (add 4 spaces). Open
matches == 1
- Read upRead up
- Exclude checks
TODO matches == 1 ^ |
Wrong hanging indentation before block (add 4 spaces). Open
tar: Union[str, Tuple[str, str, str]],
- Read upRead up
- Exclude checks
TODO tar: Union[str, Tuple[str, str, str]], ^ |
Wrong hanging indentation before block (add 4 spaces). Open
'with ',
- Read upRead up
- Exclude checks
TODO 'with ', ^ |
Wrong hanging indentation before block (add 4 spaces). Open
'of ',
- Read upRead up
- Exclude checks
TODO 'of ', ^ |
Method could be a function Open
def _synoname_strip_punct(self, word: str) -> str:
- Read upRead up
- Exclude checks
Used when a method doesn't use its bound instance, and so could be written as a function.
Access to a protected member _synoname_special_table of a client class Open
self._stc._synoname_special_table[ # noqa: SF01
- Read upRead up
- Exclude checks
Used when a protected member (i.e. class member with a name beginning with an underscore) is access outside the class or a descendant of the class where it's defined.
Access to a protected member _synoname_special_table of a client class Open
self._stc._synoname_special_table[s_pos][ # noqa: SF01
- Read upRead up
- Exclude checks
Used when a protected member (i.e. class member with a name beginning with an underscore) is access outside the class or a descendant of the class where it's defined.
Access to a protected member _synoname_special_table of a client class Open
+ self._stc._synoname_special_table[s_pos][1] # noqa: SF01
- Read upRead up
- Exclude checks
Used when a protected member (i.e. class member with a name beginning with an underscore) is access outside the class or a descendant of the class where it's defined.
Access to a protected member _cost of a client class Open
self._lev._cost = (99, 99, 1, 99) # noqa: SF01
- Read upRead up
- Exclude checks
Used when a protected member (i.e. class member with a name beginning with an underscore) is access outside the class or a descendant of the class where it's defined.
Variable name c
doesn't conform to snake_case naming style Open
c = self._tar_only_card()
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).
Variable name po
doesn't conform to snake_case naming style Open
po = (a + d) / n
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).
Wrong hanging indentation before block (add 4 spaces). Open
features: Optional[
- Read upRead up
- Exclude checks
TODO features: Optional[ ^ |
Wrong hanging indentation before block (add 4 spaces). Open
List[Tuple[int, str]], features['src_specials']
- Read upRead up
- Exclude checks
TODO List[Tuple[int, str]], features['src_specials'] ^ |
Wrong hanging indentation before block (add 4 spaces). Open
tests: Union[int, TIterable[str]] = 2 ** 12 - 1,
- Read upRead up
- Exclude checks
TODO tests: Union[int, TIterable[str]] = 2 ** 12 - 1, ^ |
Too many branches (44/12) Open
def _synoname_word_approximation(
- Read upRead up
- Exclude checks
Used when a function or method has too many branches, making it hard to follow.
Variable name b
doesn't conform to snake_case naming style Open
b = self._src_only_card()
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).
Access to a protected member _synoname_special_table of a client class Open
+ self._stc._synoname_special_table[s_pos][1] # noqa: SF01
- Read upRead up
- Exclude checks
Used when a protected member (i.e. class member with a name beginning with an underscore) is access outside the class or a descendant of the class where it's defined.