chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

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.

Too many local variables (40/15)
Open

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

Used when a function or method has too many local variables.

Unnecessary elif after return
Open

            if fn_equal and self._lev.dist_abs(src_ln, tar_ln) == 1:
Severity: Info
Found in abydos/distance/_synoname.py by pylint

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

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

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

TODO alphabet: Optional[ ^ |

Unable to import 'numpy'
Open

from numpy import array as np_array
Severity: Critical
Found in abydos/distance/_steffensen.py by pylint

Used when pylint has been unable to import a module.

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

        b = self._src_only_card()
Severity: Info
Found in abydos/distance/_steffensen.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

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

TODO self, ^ |

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

        src_fn: str = '',
Severity: Info
Found in abydos/distance/_synoname.py by pylint

TODO src_fn: str = '', ^ |

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

        char_approx_min: float = 0.73,
Severity: Info
Found in abydos/distance/_synoname.py by pylint

TODO charapproxmin: float = 0.73, ^ |

Too many boolean expressions in if statement (6/5)
Open

        if matches > 1 or (
Severity: Info
Found in abydos/distance/_synoname.py by pylint

Used when an if statement contains too many boolean expressions.

Access to a protected member _mode of a client class
Open

            self._lev._mode = 'lev'  # 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.

Too many local variables (16/15)
Open

    def _get_estimates(self, src: str, tar: str) -> Tuple[float, float]:
Severity: Info
Found in abydos/distance/_chao_jaccard.py by pylint

Used when a function or method has too many local variables.

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

        n = a + b + c + d
Severity: Info
Found in abydos/distance/_kuhns_ix.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

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

TODO and self.stc.synonamespecialtable[s_pos][1] # noqa: SF01 ^ |

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

            and tar1_words[0] == src1_words[0]
Severity: Info
Found in abydos/distance/_synoname.py by pylint

TODO and tar1words[0] == src1words[0] ^ |

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

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

TODO self, ^ |

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

                    ' '.join((src_fn, src_ln)).strip()
Severity: Info
Found in abydos/distance/_synoname.py by pylint

TODO ' '.join((srcfn, srcln)).strip() ^ |

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

                    == ' '.join((tar_fn, tar_ln)).strip()
Severity: Info
Found in abydos/distance/_synoname.py by pylint

TODO == ' '.join((tarfn, tarln)).strip() ^ |

Too many local variables (31/15)
Open

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

Used when a function or method has too many local variables.

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.

Severity
Category
Status
Source
Language