chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

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

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

TODO self, ^ |

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

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

Unnecessary else after return
Open

            if tar.islower():
Severity: Info
Found in abydos/distance/_saps.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/_fossum.py by pylint

TODO alphabet: Optional[ ^ |

Unnecessary else after return
Open

        if int(d_mat[src_len, tar_len]) == d_mat[src_len, tar_len]:

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

        **kwargs: Any

TODO **kwargs: Any ^ |

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

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

TODO **kwargs: Any ^ |

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

        c = self._tar_only_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...).

Unable to import 'numpy'
Open

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

Used when pylint has been unable to import a module.

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

        n = self._population_unique_card()
Severity: Info
Found in abydos/distance/_fossum.py by pylint

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

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

        n = self._population_unique_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...).

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

        normalizer: Callable[[List[float]], float] = max,

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

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

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

TODO alphabet: Optional[ ^ |

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...).

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

        c = self._tar_only_card() + 1
Severity: Info
Found in abydos/distance/_unknown_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

        intersection_type: str = 'crisp',

TODO intersection_type: str = 'crisp', ^ |

Parameters differ from overridden 'dist' method
Open

    def dist(self, *args: Any, **kwargs: Any) -> NoReturn:
Severity: Minor
Found in abydos/distance/_morisita.py by pylint

Used when a method has a different number of arguments than in the implemented interface or in an overridden method.

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

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

TODO intersection_type: str = 'crisp', ^ |

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

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

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

Too many instance attributes (9/7)
Open

class SAPS(_Distance):
Severity: Info
Found in abydos/distance/_saps.py by pylint

Used when class has too many instance attributes, try to reduce this to get a simpler (and so easier to use) class.

Severity
Category
Status
Source
Language