chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

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

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

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

Too many local variables (17/15)
Open

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

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

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

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

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

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

        c = self._tar_only_card()
Severity: Info
Found in abydos/distance/_baulieu_ix.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/_benini_ii.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/_benini_ii.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/_cole.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_ii.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/_baulieu_i.py by pylint

TODO **kwargs: Any ^ |

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

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

                        self._token_matcher(
Severity: Info
Found in abydos/distance/_sift4_extended.py by pylint

TODO self.tokenmatcher( ^ |

Unnecessary elif after break
Open

                    if src_cur <= ofs['src_cur'] or tar_cur <= ofs['tar_cur']:
Severity: Info
Found in abydos/distance/_sift4_extended.py by pylint

Used in order to highlight an unnecessary block of code following an if containing a break statement. As such, it will warn when it encounters an else following a chain of ifs, all of them containing a break statement.

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

        tokenizers: Optional[List[_Tokenizer]] = None,
Severity: Info
Found in abydos/distance/_bleu.py by pylint

TODO tokenizers: Optional[List[_Tokenizer]] = None, ^ |

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

            s = _char_at(src, pos)
Severity: Info
Found in abydos/distance/_isg.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,

TODO self, ^ |

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

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

TODO **kwargs: Any ^ |

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

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

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

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

        self, tokenizer: Optional[_Tokenizer] = None, **kwargs: Any
Severity: Info
Found in abydos/distance/_hassanat.py by pylint

TODO self, tokenizer: Optional[_Tokenizer] = None, **kwargs: Any ^ |

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

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

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

Too many instance attributes (8/7)
Open

class Sift4Extended(_Distance):
Severity: Info
Found in abydos/distance/_sift4_extended.py by pylint

Used when class has too many instance attributes, try to reduce this to get a simpler (and so easier to use) class.

Severity
Category
Status
Source
Language