chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

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

        c = self._tar_only_card()
Severity: Info
Found in abydos/distance/_mountford.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

                        (src_cur + i < src_len) or (tar_cur + i < tar_len)
Severity: Info
Found in abydos/distance/_sift4.py by pylint

TODO (srccur + i < srclen) or (tarcur + i < tarlen) ^ |

Unused variable 'sub_cost'
Open

        ins_cost, del_cost, sub_cost, trans_cost = self._cost
Severity: Minor
Found in abydos/distance/_levenshtein.py by pylint

Used when a variable is defined but not used.

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

        n = self._population_unique_card()
Severity: Info
Found in abydos/distance/_forbes_ii.py by pylint

Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).

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

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

Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).

Too many statements (56/50)
Open

    def sim(self, src: str, tar: str) -> float:
Severity: Info
Found in abydos/distance/_strcmp95.py by pylint

Used when a function or method has too many statements. You should then split it in smaller functions / methods.

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

            s = self._token_at(src, pos)
Severity: Info
Found in abydos/distance/_guth.py by pylint

Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).

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

            t = self._token_at(tar, pos)
Severity: Info
Found in abydos/distance/_guth.py by pylint

Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).

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

            s = self._token_at(src, pos + 2)
Severity: Info
Found in abydos/distance/_guth.py by pylint

Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).

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

        d = self._total_complement_card()
Severity: Info
Found in abydos/distance/_kuhns_vi.py by pylint

Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).

Parameters differ from overridden 'dist_abs' method
Open

    def dist_abs(self, src: str, tar: str, *args: str) -> int:
Severity: Minor
Found in abydos/distance/_lcprefix.py by pylint

Used when a method has a different number of arguments than in the implemented interface or in an overridden method.

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

        b = self._src_only_card()
Severity: Info
Found in abydos/distance/_gwet_ac.py by pylint

Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).

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

        q = (2 * a + b + c) / (2 * n)
Severity: Info
Found in abydos/distance/_gwet_ac.py by pylint

Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).

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

            b = 1
Severity: Info
Found in abydos/distance/_mountford.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

        sim_func: Optional[Callable[[str, str], float]] = None,
Severity: Info
Found in abydos/distance/_smith_waterman.py by pylint

TODO sim_func: Optional[Callable[[str, str], float]] = None, ^ |

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

        n = self._population_unique_card()
Severity: Info
Found in abydos/distance/_harris_lahey.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

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

TODO alphabet: Optional[ ^ |

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

        tokenizer: Optional[_Tokenizer] = None,
Severity: Info
Found in abydos/distance/_sokal_sneath_i.py by pylint

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

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

        **kwargs: Any

TODO **kwargs: Any ^ |

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

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

TODO **kwargs: Any ^ |

Severity
Category
Status
Source
Language