chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

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

        d = self._total_complement_card()
Severity: Info
Found in abydos/distance/_gini_i.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/_stiles.py by pylint

TODO self, ^ |

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

        n = max(self._total_complement_card(), eps) + a + b + c
Severity: Info
Found in abydos/distance/_stiles.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,

TODO self, ^ |

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

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

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

Unable to import 'numpy'
Open

from numpy import zeros as np_zeros
Severity: Critical
Found in abydos/distance/_rees_levenshtein.py by pylint

Used when pylint has been unable to import a module.

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

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

TODO self, ^ |

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

        **kwargs: Any

TODO **kwargs: Any ^ |

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

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

TODO alphabet: Optional[ ^ |

Argument name s doesn't conform to snake_case naming style
Open

        def _cost(s: str, t: str) -> float:
Severity: Info
Found in abydos/distance/_covington.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 _cost(s: str, t: str) -> float:
Severity: Info
Found in abydos/distance/_covington.py by pylint

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

Useless return at end of function or method
Open

        def _add_alignments(
Severity: Info
Found in abydos/distance/_covington.py by pylint

Emitted when a single return or return None statement is found at the end of function or method definition. This statement can safely be removed because Python will implicitly return None

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

        discount_from: Union[int, str] = 1,

TODO discount_from: Union[int, str] = 1, ^ |

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

        self, src: str, tar: str, backtrace: bool = True

TODO self, src: str, tar: str, backtrace: bool = True ^ |

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

        self,

TODO self, ^ |

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

        n = self._population_unique_card()
Severity: Info
Found in abydos/distance/_kuhns_ii.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 (j >= v_temp_block_length * 2)

TODO and (j >= vtempblock_length * 2) ^ |

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

            d /= n

Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).

Too many return statements (11/6)
Open

        def _cost(s: str, t: str) -> float:
Severity: Info
Found in abydos/distance/_covington.py by pylint

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

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

                        i + 1 > 1

TODO i + 1 > 1 ^ |

Severity
Category
Status
Source
Language