chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

Too many branches (38/12)
Open

    def sim_type(
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.

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

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

TODO intersection_type: str = 'crisp', ^ |

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

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

TODO intersection_type: str = 'crisp', ^ |

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

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

TODO and tarlenspecials == 0 ^ |

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

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

TODO and tar2numwords == 1 ^ |

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

                    'known as the ',
Severity: Info
Found in abydos/distance/_synoname.py by pylint

TODO 'known as the ', ^ |

Too many arguments (6/5)
Open

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

Used when a function or method takes too many arguments.

Access to a protected member _synoname_special_table of a client class
Open

                and 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 = (1, 99, 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.

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

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

Used when an if statement contains too many boolean expressions.

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

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

TODO self, ^ |

Unnecessary else after return
Open

        if not delta_ab:
Severity: Info
Found in abydos/distance/_kuhns_ix.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.

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

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

TODO intersection_type: str = 'crisp', ^ |

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

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

TODO alphabet: Optional[ ^ |

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

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

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

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

        **kwargs: Any
Severity: Info
Found in abydos/distance/_pearson_iii.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/_fleiss.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/_manhattan.py by pylint

TODO intersection_type: str = 'crisp', ^ |

Severity
Category
Status
Source
Language