chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

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

        intersection_type: str = 'crisp',

TODO intersection_type: str = 'crisp', ^ |

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

            t = self._token_at(tar, pos + 1)
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...).

Too many branches (13/12)
Open

    def sim(self, src: str, tar: str) -> float:
Severity: Info
Found in abydos/distance/_guth.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/_unknown_h.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

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

TODO intersection_type: str = 'crisp', ^ |

Method could be a function
Open

    def lcprefix(self, strings: List[str]) -> str:
Severity: Info
Found in abydos/distance/_lcprefix.py by pylint

Used when a method doesn't use its bound instance, and so could be written as a function.

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

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

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

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

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

TODO alphabet: Optional[ ^ |

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

            t = self._token_at(tar, 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...).

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

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

TODO alphabet: Optional[ ^ |

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

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

TODO **kwargs: Any ^ |

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

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

TODO **kwargs: Any ^ |

Unnecessary elif after break
Open

                    if src_cur <= ofs['src_cur'] or tar_cur <= ofs['tar_cur']:
Severity: Info
Found in abydos/distance/_sift4.py by pylint

Used in order to highlight an unnecessary block of code following an if containing a break statement. As such, it will warn when it encounters an else following a chain of ifs, all of them containing a break statement.

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

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

TODO alphabet: Optional[ ^ |

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

        a = max(1.0, self._intersection_card())
Severity: Info
Found in abydos/distance/_baulieu_xii.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()

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 = self._src_only_card()

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

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

TODO intersection_type: str = 'crisp', ^ |

Parameters differ from overridden 'sim' method
Open

    def sim(self, *args: Any, **kwargs: Any) -> NoReturn:
Severity: Minor
Found in abydos/distance/_millar.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 d doesn't conform to snake_case naming style
Open

        d = self._total_complement_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...).

Severity
Category
Status
Source
Language