chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

Too many nested blocks (6/5)
Open

        if minv > num_com:
Severity: Info
Found in abydos/distance/_strcmp95.py by pylint

Used when a function or a method has too many nested blocks. This makes the code less understandable and maintainable.

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

        c = self._tar_only_card()

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...).

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

            s = self._token_at(src, pos + 1)
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...).

Unnecessary elif after return
Open

        if src == tar:
Severity: Info
Found in abydos/distance/_lcprefix.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 n doesn't conform to snake_case naming style
Open

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

Unable to import 'numpy'
Open

import numpy as np
Severity: Critical
Found in abydos/distance/_levenshtein.py by pylint

Used when pylint has been unable to import a module.

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

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

TODO intersection_type: str = 'crisp', ^ |

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

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

TODO alphabet: Optional[ ^ |

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

        alphabet: Optional[

TODO alphabet: Optional[ ^ |

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

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

TODO self, ^ |

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

                        src[src_cur + i] == tar[tar_cur]
Severity: Info
Found in abydos/distance/_sift4.py by pylint

TODO src[srccur + i] == tar[tarcur] ^ |

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

            s = self._token_at(src, 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...).

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

            s = self._token_at(src, pos - 1)
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

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

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

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

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

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

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

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

TODO i + 1 > 1 ^ |

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

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

TODO **kwargs: Any ^ |

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

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

TODO **kwargs: Any ^ |

Severity
Category
Status
Source
Language