chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

Unnecessary else after return
Open

        if not delta_ab:
Severity: Info
Found in abydos/distance/_kuhns_x.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

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

TODO intersection_type: str = 'crisp', ^ |

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

            n += 1
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 few public methods (1/2)
Open

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

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

Too few public methods (1/2)
Open

class SkeletonKey(_Fingerprint):

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

        intersection_type: str = 'crisp',
Severity: Info
Found in abydos/distance/_baulieu_xv.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/_baulieu_xv.py by pylint

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

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

        a = self._intersection_card()
Severity: Info
Found in abydos/distance/_warrens_iv.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/_warrens_iv.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

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

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

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

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

                            abbr in fname for abbr in ('i.', 'v.', 'x.')

TODO abbr in fname for abbr in ('i.', 'v.', 'x.') ^ |

Too few public methods (1/2)
Open

class BWTF(_Fingerprint):
Severity: Info
Found in abydos/fingerprint/_bwtf.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

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

TODO self, ^ |

Too few public methods (1/2)
Open

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

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

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

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

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

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

TODO **kwargs: Any ^ |

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

TODO self, ^ |

Too many statements (101/50)
Open

    def fingerprint_tuple(

Used when a function or method has too many statements. You should then split it in smaller functions / methods.

Severity
Category
Status
Source
Language