chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

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

        pe = ((2 * a + b + c) / (2 * n)) ** 2 + (
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

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

TODO src_ln: str, ^ |

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

            and src_len_specials == 0
Severity: Info
Found in abydos/distance/_synoname.py by pylint

TODO and srclenspecials == 0 ^ |

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

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

TODO and src2numwords == 1 ^ |

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

            and (tar_len_specials > 0 or src_len_specials > 0)
Severity: Info
Found in abydos/distance/_synoname.py by pylint

TODO and (tarlenspecials > 0 or srclenspecials > 0) ^ |

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[  # 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[  # 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.

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.

Too many statements (105/50)
Open

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

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

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

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

TODO **kwargs: Any ^ |

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

        a = self._intersection_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

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

TODO intersection_type: str = 'crisp', ^ |

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

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

TODO **kwargs: Any ^ |

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

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

TODO ( ^ |

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

                    or (src_fn and tar_fn.startswith(src_fn))
Severity: Info
Found in abydos/distance/_synoname.py by pylint

TODO or (srcfn and tarfn.startswith(src_fn)) ^ |

Access to a protected member _cost of a client class
Open

            self._lev._cost = (1, 1, 99, 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.

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.

Severity
Category
Status
Source
Language