chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

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

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

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

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

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

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

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

        c = self._tar_only_card()
Severity: Info
Found in abydos/distance/_unknown_b.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/_pearson_iii.py by pylint

TODO alphabet: Optional[ ^ |

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

        alphabet: Optional[

TODO alphabet: Optional[ ^ |

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

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

TODO intersection_type: str = 'crisp', ^ |

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

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

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

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

        c = self._tar_only_card()
Severity: Info
Found in abydos/distance/_baulieu_xiv.py by pylint

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

Too many branches (13/12)
Open

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

Used when a function or method has too many branches, making it hard to follow.

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

        c = self._tar_only_card()
Severity: Info
Found in abydos/distance/_unknown_c.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,
Severity: Info
Found in abydos/distance/_kendall_tau.py by pylint

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

Parameters differ from overridden 'sim' method
Open

    def sim(self, src: str, tar: str, beta: float = 8) -> float:
Severity: Minor
Found in abydos/distance/_rouge_s.py by pylint

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

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

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

TODO self, ^ |

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

        c = self._tar_only_card()

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()

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

Unable to import 'numpy'
Open

from numpy import int_ as np_int
Severity: Critical
Found in abydos/distance/_ratcliff_obershelp.py by pylint

Used when pylint has been unable to import a module.

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

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

TODO **kwargs: Any ^ |

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

        layout: str = 'QWERTY',
Severity: Info
Found in abydos/distance/_typo.py by pylint

TODO layout: str = 'QWERTY', ^ |

Unnecessary parens after 'not' keyword
Open

                if not (letters - keys):
Severity: Info
Found in abydos/distance/_typo.py by pylint

Used when a single item in parentheses follows an if, for, or other keyword.

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

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

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

Severity
Category
Status
Source
Language