chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

Unable to import 'numpy'
Open

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

Used when pylint has been unable to import a module.

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

        a = self._intersection_card()
Severity: Info
Found in abydos/distance/_kuhns_iii.py by pylint

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

Unnecessary else after return
Open

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

        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

                        and src_list[i] == tar_list[j - 1]

TODO and srclist[i] == tarlist[j - 1] ^ |

Unused variable 'trans_cost'
Open

        ins_cost, del_cost, sub_cost, trans_cost = self._cost

Used when a variable is defined but not used.

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

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

        tokenizer: Optional[_Tokenizer] = None,

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

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

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

TODO **kwargs: Any ^ |

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

        b = self._src_only_card()

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

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

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

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

        cost: Tuple[int, int, int] = (0, 1, 2),
Severity: Info
Found in abydos/distance/_editex.py by pylint

TODO cost: Tuple[int, int, int] = (0, 1, 2), ^ |

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

        b = self._src_only_card()
Severity: Info
Found in abydos/distance/_unknown_g.py by pylint

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

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

        a = self._intersection_card()

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

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

        c = self._tar_only_card()

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

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

        ac = self._tar_card()

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, ^ |

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

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

TODO self, ^ |

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

        normalizer: Callable[[List[float]], float] = max,
Severity: Info
Found in abydos/distance/_saps.py by pylint

TODO normalizer: Callable[[List[float]], float] = max, ^ |

Severity
Category
Status
Source
Language