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

TODO self, ^ |

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

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

TODO **kwargs: Any ^ |

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

        self,
Severity: Info
Found in abydos/fingerprint/_consonant.py by pylint

TODO self, ^ |

Unable to import 'numpy'
Open

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

Used when pylint has been unable to import a module.

Unable to import 'numpy'
Open

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

Used when pylint has been unable to import a module.

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

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

TODO alphabet: Optional[ ^ |

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

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

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

Too many nested blocks (7/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 many branches (46/12)
Open

    def fingerprint_tuple(

Used when a function or method has too many branches, making it hard to follow.

Too many branches (25/12)
Open

    def fingerprint(self, word: str) -> str:
Severity: Info
Found in abydos/fingerprint/_lc_cutter.py by pylint

Used when a function or method has too many branches, making it hard to follow.

Too few public methods (1/2)
Open

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

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

Unnecessary elif after return
Open

        if src == tar:
Severity: Info
Found in abydos/distance/_lcsseq.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

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

TODO **kwargs: Any ^ |

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

        a = self._intersection_card()
Severity: Info
Found in abydos/distance/_baulieu_xv.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',
Severity: Info
Found in abydos/distance/_koppen_i.py by pylint

TODO intersection_type: str = 'crisp', ^ |

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

        probs: Optional[Dict[str, Tuple[Fraction, Fraction]]] = None,
Severity: Info
Found in abydos/distance/_ncd_arith.py by pylint

TODO probs: Optional[Dict[str, Tuple[Fraction, Fraction]]] = None, ^ |

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

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

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

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

        b = self._src_only_card()
Severity: Info
Found in abydos/distance/_kuhns_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

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

TODO intersection_type: str = 'crisp', ^ |

Severity
Category
Status
Source
Language