chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

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/_kuhns_vii.py by pylint

TODO alphabet: Optional[ ^ |

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

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

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

TODO intersection_type: str = 'crisp', ^ |

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

        taper: bool = False,
Severity: Info
Found in abydos/distance/_editex.py by pylint

TODO taper: bool = False, ^ |

Consider merging these comparisons with in to ch1 in ('H', 'W')
Open

            if ch1 != ch2 and (ch1 == 'H' or ch1 == 'W'):
Severity: Info
Found in abydos/distance/_editex.py by pylint

To check if a variable is equal to one of many values,combine the values into a tuple and check if the variable is contained in it instead of checking for equality against each of the values.This is faster and less verbose.

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

        tokenizer: Optional[_Tokenizer] = None,
Severity: Info
Found in abydos/distance/_fossum.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/_fossum.py by pylint

TODO **kwargs: Any ^ |

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

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

TODO intersection_type: str = 'crisp', ^ |

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

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

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

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

TODO self, ^ |

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

        alphabet: Optional[

TODO alphabet: Optional[ ^ |

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

        b = self._src_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...).

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

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

TODO alphabet: Optional[ ^ |

Unable to import 'numpy'
Open

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

Used when pylint has been unable to import a module.

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

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

TODO intersection_type: str = 'crisp', ^ |

Too many local variables (18/15)
Open

    def _alignment_matrix(

Used when a function or method has too many local variables.

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

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

TODO **kwargs: Any ^ |

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

        self,

TODO self, ^ |

Severity
Category
Status
Source
Language