chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

Too many local variables (21/15)
Open

    def sim(self, src: str, tar: str) -> float:
Severity: Info
Found in abydos/distance/_jaro_winkler.py by pylint

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

Unable to import 'numpy'
Open

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

Used when pylint has been unable to import a module.

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

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

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

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

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

TODO self, ^ |

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

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

TODO **kwargs: Any ^ |

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

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

TODO intersection_type: str = 'crisp', ^ |

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

        corpus: Optional[UnigramCorpus] = None,

TODO corpus: Optional[UnigramCorpus] = None, ^ |

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

        alphabet: Optional[
Severity: Info
Found in abydos/distance/_kuhns_iv.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/_size.py by pylint

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

Too many branches (19/12)
Open

    def sim(self, src: str, tar: str) -> float:
Severity: Info
Found in abydos/distance/_jaro_winkler.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

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

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

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

        ac = self._tar_card()
Severity: Info
Found in abydos/distance/_johnson.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

        metric: Optional[_Distance] = None,

TODO metric: Optional[_Distance] = None, ^ |

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

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

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

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

        fp = (a * a + b * b) / (a + b)

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 (2 * num_com >= minv + i)
Severity: Info
Found in abydos/distance/_jaro_winkler.py by pylint

TODO and (2 * num_com >= minv + i) ^ |

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

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

TODO self, ^ |

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

        sim_func: Optional[Callable[[str, str], float]] = None,
Severity: Info
Found in abydos/distance/_gotoh.py by pylint

TODO sim_func: Optional[Callable[[str, str], float]] = None, ^ |

Unable to import 'numpy'
Open

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

Used when pylint has been unable to import a module.

Severity
Category
Status
Source
Language