chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

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

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

                        (src_cur + i < src_len) or (tar_cur + i < tar_len)
Severity: Info
Found in abydos/distance/_sift4_extended.py by pylint

TODO (srccur + i < srclen) or (tarcur + i < tarlen) ^ |

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

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

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

TODO alphabet: Optional[ ^ |

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

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

TODO intersection_type: str = 'crisp', ^ |

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

        ab = self._src_card()
Severity: Info
Found in abydos/distance/_baulieu_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

        transpositions_evaluator: Optional[
Severity: Info
Found in abydos/distance/_sift4_extended.py by pylint

TODO transpositions_evaluator: Optional[ ^ |

Positional arguments appear to be out of order
Open

            return max(self._isg_i(src, tar), self._isg_i(tar, src))
Severity: Minor
Found in abydos/distance/_isg.py by pylint

Emitted when the caller's argument names fully match the parameter names in the function signature but do not have the same order.

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

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

TODO intersection_type: str = 'crisp', ^ |

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

        self,

TODO self, ^ |

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

        alphabet: Optional[

TODO alphabet: Optional[ ^ |

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

        b = self._src_only_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,
Severity: Info
Found in abydos/distance/_baulieu_i.py by pylint

TODO self, ^ |

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

TODO **kwargs: Any ^ |

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( ^ |

Too many statements (56/50)
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 statements. You should then split it in smaller functions / methods.

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

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

TODO weights: Optional[List[float]] = None, ^ |

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

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

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

Severity
Category
Status
Source
Language