chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

Wrong hanging indentation before block (add 4 spaces).
Open

                    i > 0
Severity: Info
Found in abydos/distance/_aline.py by pylint

TODO i > 0 ^ |

Wrong hanging indentation before block (add 4 spaces).
Open

                    and j > 0
Severity: Info
Found in abydos/distance/_aline.py by pylint

TODO and j > 0 ^ |

Variable name ch doesn't conform to snake_case naming style
Open

        for ch in tar:
Severity: Info
Found in abydos/distance/_aline.py by pylint

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):
Severity: Info
Found in abydos/distance/_aline.py by pylint

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(
Severity: Info
Found in abydos/distance/_aline.py by pylint

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()
Severity: Info
Found in abydos/distance/_baulieu_iv.py by pylint

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

TODO **kwargs: Any ^ |

Wrong hanging indentation before block (add 4 spaces).
Open

                    trans, (_Phonetic, _Fingerprint, _Stemmer)

TODO trans, (_Phonetic, _Fingerprint, _Stemmer) ^ |

Unnecessary elif after continue
Open

                if isinstance(trans, (_Phonetic, _Fingerprint, _Stemmer)):

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

TODO and tp not in tar_matched ^ |

Wrong hanging indentation before block (add 4 spaces).
Open

        **kwargs: Any
Severity: Info
Found in abydos/distance/_hurlbert.py by pylint

TODO **kwargs: Any ^ |

Wrong hanging indentation before block (add 4 spaces).
Open

        self,
Severity: Info
Found in abydos/distance/_baulieu_v.py by pylint

TODO self, ^ |

Wrong hanging indentation before block (add 4 spaces).
Open

        alphabet: Optional[
Severity: Info
Found in abydos/distance/_baulieu_v.py by pylint

TODO alphabet: Optional[ ^ |

Variable name a doesn't conform to snake_case naming style
Open

        a = self._intersection_card()
Severity: Info
Found in abydos/distance/_pearson_phi.py by pylint

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,

TODO tokenizer: Optional[_Tokenizer] = None, ^ |

Wrong hanging indentation before block (add 4 spaces).
Open

        alphabet: Optional[
Severity: Info
Found in abydos/distance/_chebyshev.py by pylint

TODO alphabet: Optional[ ^ |

Wrong hanging indentation before block (add 4 spaces).
Open

        intersection_type: str = 'crisp',
Severity: Info
Found in abydos/distance/_chebyshev.py by pylint

TODO intersection_type: str = 'crisp', ^ |

Wrong hanging indentation before block (add 4 spaces).
Open

            seg1: Dict[str, float],
Severity: Info
Found in abydos/distance/_aline.py by pylint

TODO seg1: Dict[str, float], ^ |

Wrong hanging indentation before block (add 4 spaces).
Open

                    i > 1
Severity: Info
Found in abydos/distance/_aline.py by pylint

TODO i > 1 ^ |

Wrong hanging indentation before block (add 4 spaces).
Open

                    and s_mat[i - 2, j - 1]
Severity: Info
Found in abydos/distance/_aline.py by pylint

TODO and s_mat[i - 2, j - 1] ^ |

Severity
Category
Status
Source
Language