Showing 4,191 of 4,191 total issues
Wrong hanging indentation before block (add 4 spaces). Open
i > 0
- Read upRead up
- Exclude checks
TODO i > 0 ^ |
Wrong hanging indentation before block (add 4 spaces). Open
and j > 0
- Read upRead up
- Exclude checks
TODO and j > 0 ^ |
Variable name ch
doesn't conform to snake_case naming style Open
for ch in tar:
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).
Variable name i1
doesn't conform to snake_case naming style Open
for i1 in range(src_len - 1, i - 1, -1):
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).
Too many branches (41/12) Open
def alignments(
- Read upRead up
- Exclude checks
Used when a function or method has too many branches, making it hard to follow.
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
**kwargs: Any
- Read upRead up
- Exclude checks
TODO **kwargs: Any ^ |
Wrong hanging indentation before block (add 4 spaces). Open
trans, (_Phonetic, _Fingerprint, _Stemmer)
- Read upRead up
- Exclude checks
TODO trans, (_Phonetic, _Fingerprint, _Stemmer) ^ |
Unnecessary elif
after continue
Open
if isinstance(trans, (_Phonetic, _Fingerprint, _Stemmer)):
- Read upRead up
- Exclude checks
Used in order to highlight an unnecessary block of code following an if containing a continue statement. As such, it will warn when it encounters an else following a chain of ifs, all of them containing a continue statement.
Wrong hanging indentation before block (add 4 spaces). Open
and tp not in tar_matched
- Read upRead up
- Exclude checks
TODO and tp not in tar_matched ^ |
Wrong hanging indentation before block (add 4 spaces). Open
**kwargs: Any
- Read upRead up
- Exclude checks
TODO **kwargs: Any ^ |
Wrong hanging indentation before block (add 4 spaces). Open
self,
- Read upRead up
- Exclude checks
TODO self, ^ |
Wrong hanging indentation before block (add 4 spaces). Open
alphabet: Optional[
- Read upRead up
- Exclude checks
TODO alphabet: Optional[ ^ |
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
tokenizer: Optional[_Tokenizer] = None,
- Read upRead up
- Exclude checks
TODO tokenizer: Optional[_Tokenizer] = None, ^ |
Wrong hanging indentation before block (add 4 spaces). Open
alphabet: Optional[
- Read upRead up
- Exclude checks
TODO alphabet: Optional[ ^ |
Wrong hanging indentation before block (add 4 spaces). Open
intersection_type: str = 'crisp',
- Read upRead up
- Exclude checks
TODO intersection_type: str = 'crisp', ^ |
Wrong hanging indentation before block (add 4 spaces). Open
seg1: Dict[str, float],
- Read upRead up
- Exclude checks
TODO seg1: Dict[str, float], ^ |
Wrong hanging indentation before block (add 4 spaces). Open
i > 1
- Read upRead up
- Exclude checks
TODO i > 1 ^ |
Wrong hanging indentation before block (add 4 spaces). Open
and s_mat[i - 2, j - 1]
- Read upRead up
- Exclude checks
TODO and s_mat[i - 2, j - 1] ^ |