chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

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

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

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

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

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

                s_type == 'X'
Severity: Info
Found in abydos/distance/_synoname.py by pylint

TODO s_type == 'X' ^ |

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

            matches == 1
Severity: Info
Found in abydos/distance/_synoname.py by pylint

TODO matches == 1 ^ |

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

        tar: Union[str, Tuple[str, str, str]],
Severity: Info
Found in abydos/distance/_synoname.py by pylint

TODO tar: Union[str, Tuple[str, str, str]], ^ |

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

                    'with ',
Severity: Info
Found in abydos/distance/_synoname.py by pylint

TODO 'with ', ^ |

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

                    'of ',
Severity: Info
Found in abydos/distance/_synoname.py by pylint

TODO 'of ', ^ |

Method could be a function
Open

    def _synoname_strip_punct(self, word: str) -> str:
Severity: Info
Found in abydos/distance/_synoname.py by pylint

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

Access to a protected member _synoname_special_table of a client class
Open

                            self._stc._synoname_special_table[  # noqa: SF01
Severity: Minor
Found in abydos/distance/_synoname.py by pylint

Used when a protected member (i.e. class member with a name beginning with an underscore) is access outside the class or a descendant of the class where it's defined.

Access to a protected member _synoname_special_table of a client class
Open

                        self._stc._synoname_special_table[s_pos][  # noqa: SF01
Severity: Minor
Found in abydos/distance/_synoname.py by pylint

Used when a protected member (i.e. class member with a name beginning with an underscore) is access outside the class or a descendant of the class where it's defined.

Access to a protected member _synoname_special_table of a client class
Open

                    + self._stc._synoname_special_table[s_pos][1]  # noqa: SF01
Severity: Minor
Found in abydos/distance/_synoname.py by pylint

Used when a protected member (i.e. class member with a name beginning with an underscore) is access outside the class or a descendant of the class where it's defined.

Access to a protected member _cost of a client class
Open

            self._lev._cost = (99, 99, 1, 99)  # noqa: SF01
Severity: Minor
Found in abydos/distance/_synoname.py by pylint

Used when a protected member (i.e. class member with a name beginning with an underscore) is access outside the class or a descendant of the class where it's defined.

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

        c = self._tar_only_card()
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 po doesn't conform to snake_case naming style
Open

        po = (a + d) / n
Severity: Info
Found in abydos/distance/_scott_pi.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

        features: Optional[
Severity: Info
Found in abydos/distance/_synoname.py by pylint

TODO features: Optional[ ^ |

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

            List[Tuple[int, str]], features['src_specials']
Severity: Info
Found in abydos/distance/_synoname.py by pylint

TODO List[Tuple[int, str]], features['src_specials'] ^ |

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

        tests: Union[int, TIterable[str]] = 2 ** 12 - 1,
Severity: Info
Found in abydos/distance/_synoname.py by pylint

TODO tests: Union[int, TIterable[str]] = 2 ** 12 - 1, ^ |

Too many branches (44/12)
Open

    def _synoname_word_approximation(
Severity: Info
Found in abydos/distance/_synoname.py by pylint

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

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

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

Access to a protected member _synoname_special_table of a client class
Open

                    + self._stc._synoname_special_table[s_pos][1]  # noqa: SF01
Severity: Minor
Found in abydos/distance/_synoname.py by pylint

Used when a protected member (i.e. class member with a name beginning with an underscore) is access outside the class or a descendant of the class where it's defined.

Severity
Category
Status
Source
Language