chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

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

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

TODO self, ^ |

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

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

TODO self, ^ |

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

        self, max_offset: int = 5, max_distance: int = 0, **kwargs: Any
Severity: Info
Found in abydos/distance/_sift4.py by pylint

TODO self, maxoffset: int = 5, maxdistance: int = 0, **kwargs: Any ^ |

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

        cost: Tuple[float, float, float, float] = (1, 1, 1, 1),
Severity: Info
Found in abydos/distance/_levenshtein.py by pylint

TODO cost: Tuple[float, float, float, float] = (1, 1, 1, 1), ^ |

Too many local variables (16/15)
Open

    def _alignment_matrix(
Severity: Info
Found in abydos/distance/_levenshtein.py by pylint

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

Unused variable 'trans_cost'
Open

        ins_cost, del_cost, sub_cost, trans_cost = self._cost
Severity: Minor
Found in abydos/distance/_levenshtein.py by pylint

Used when a variable is defined but not used.

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

        tokenizer: Optional[_Tokenizer] = None,
Severity: Info
Found in abydos/distance/_digby.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/_digby.py by pylint

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

Consider using enumerate instead of iterating with range and len
Open

        for i in range(len(ying)):
Severity: Info
Found in abydos/distance/_strcmp95.py by pylint

Emitted when code that iterates with range and len is encountered. Such code can be simplified by using the enumerate builtin.

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

        tokenizer: Optional[_Tokenizer] = None,

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

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

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

TODO alphabet: Optional[ ^ |

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

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

TODO alphabet: Optional[ ^ |

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

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

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

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

        po = (a + d) / n
Severity: Info
Found in abydos/distance/_gwet_ac.py by pylint

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

Too many branches (19/12)
Open

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

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

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

        self, src: str, tar: str, backtrace: bool = True
Severity: Info
Found in abydos/distance/_levenshtein.py by pylint

TODO self, src: str, tar: str, backtrace: bool = True ^ |

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

                        and src[i - 1] == tar[j]
Severity: Info
Found in abydos/distance/_levenshtein.py by pylint

TODO and src[i - 1] == tar[j] ^ |

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

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

TODO self, ^ |

Severity
Category
Status
Source
Language