chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

Unable to import 'numpy'
Open

from numpy import int_ as np_int
Severity: Critical
Found in abydos/distance/_lcsseq.py by pylint

Used when pylint has been unable to import a module.

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

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

TODO **kwargs: Any ^ |

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

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

TODO alphabet: Optional[ ^ |

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

        d = self._total_complement_card()
Severity: Info
Found in abydos/distance/_batagelj_bren.py by pylint

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

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

        d = self._total_complement_card()
Severity: Info
Found in abydos/distance/_batagelj_bren.py by pylint

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()
Severity: Info
Found in abydos/distance/_baulieu_x.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

        most_common: Tuple[str, ...] = MOST_COMMON_LETTERS_CG,
Severity: Info
Found in abydos/fingerprint/_occurrence.py by pylint

TODO mostcommon: Tuple[str, ...] = MOSTCOMMONLETTERSCG, ^ |

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

                s += int(src[src_pos + i] == tar[tar_pos + i])
Severity: Info
Found in abydos/distance/_bisim.py by pylint

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()
Severity: Info
Found in abydos/distance/_koppen_i.py by pylint

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

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

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

TODO self, ^ |

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

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

TODO self, ^ |

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

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

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

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

        b = self._src_only_card()
Severity: Info
Found in abydos/distance/_batagelj_bren.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/_tf_idf.py by pylint

TODO self, ^ |

Parameters differ from overridden 'fingerprint' method
Open

    def fingerprint(

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

Too many nested blocks (6/5)
Open

        for num, special in enumerate(self._synoname_special_table):

Used when a function or a method has too many nested blocks. This makes the code less understandable and maintainable.

Too few public methods (1/2)
Open

class Consonant(_Fingerprint):
Severity: Info
Found in abydos/fingerprint/_consonant.py by pylint

Used when class has too few public methods, so be sure it's really worth it.

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

        most_common: Tuple[str, ...] = MOST_COMMON_LETTERS_CG,
Severity: Info
Found in abydos/fingerprint/_position.py by pylint

TODO mostcommon: Tuple[str, ...] = MOSTCOMMONLETTERSCG, ^ |

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

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

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

Severity
Category
Status
Source
Language