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/_digby.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

                and (minv > 4)
Severity: Info
Found in abydos/distance/_strcmp95.py by pylint

TODO and (minv > 4) ^ |

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

                and (2 * num_com >= minv + i)
Severity: Info
Found in abydos/distance/_strcmp95.py by pylint

TODO and (2 * num_com >= minv + i) ^ |

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

            t = self._token_at(tar, pos)
Severity: Info
Found in abydos/distance/_guth.py by pylint

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

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

            t = self._token_at(tar, pos + 2)
Severity: Info
Found in abydos/distance/_guth.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/_unknown_h.py by pylint

TODO **kwargs: Any ^ |

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

        mode: str = 'lev',
Severity: Info
Found in abydos/distance/_levenshtein.py by pylint

TODO mode: str = 'lev', ^ |

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

                        and j + 1 > 1
Severity: Info
Found in abydos/distance/_levenshtein.py by pylint

TODO and j + 1 > 1 ^ |

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

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

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

Unnecessary else after return
Open

        if int(d_mat[src_len, tar_len]) == d_mat[src_len, tar_len]:
Severity: Info
Found in abydos/distance/_levenshtein.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.

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

        a = self._intersection_card()
Severity: Info
Found in abydos/distance/_forbes_ii.py by pylint

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

Too many branches (25/12)
Open

    def sim(self, src: str, tar: str) -> float:
Severity: Info
Found in abydos/distance/_strcmp95.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

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

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

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

        n = a + b + c + d
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

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

TODO intersection_type: str = 'crisp', ^ |

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

        d = self._total_complement_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...).

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

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

        taper: bool = False,
Severity: Info
Found in abydos/distance/_levenshtein.py by pylint

TODO taper: bool = False, ^ |

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

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

TODO self, ^ |

Useless super delegation in method '__init__'
Open

    def __init__(self, **kwargs: Any) -> None:
Severity: Minor
Found in abydos/distance/_cormode_lz.py by pylint

Used whenever we can detect that an overridden method is useless, relying on super() delegation to do the same thing as another method from the MRO.

Severity
Category
Status
Source
Language