chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

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

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

TODO **kwargs: Any ^ |

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

        normalize_strings: bool = False,

TODO normalize_strings: bool = False, ^ |

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

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

TODO self, ^ |

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

        tokenizer: Optional[_Tokenizer] = None,

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/_kuhns_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,

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

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

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

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

TODO mode: str = 'winkler', ^ |

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

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

TODO **kwargs: Any ^ |

Too many arguments (6/5)
Open

    def __init__(
Severity: Info
Found in abydos/distance/_jaro_winkler.py by pylint

Used when a function or method takes too many arguments.

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

        hamacher: float = 0.6,

TODO hamacher: float = 0.6, ^ |

Too many statements (52/50)
Open

    def corr(self, src: str, tar: str) -> float:

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

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

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

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

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

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

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

TODO self, ^ |

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

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

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

Unnecessary else after return
Open

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

        k: int = 0,
Severity: Info
Found in abydos/distance/_minhash.py by pylint

TODO k: int = 0, ^ |

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

        self,

TODO self, ^ |

Parameters differ from overridden 'dist' method
Open

    def dist(self, *args: Any, **kwargs: Any) -> NoReturn:
Severity: Minor
Found in abydos/distance/_sokal_sneath_iii.py by pylint

Used when a method has a different number of arguments than in the implemented interface or in an overridden method.

Severity
Category
Status
Source
Language