chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

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

        final_rules1: Tuple[Any, ...],
Severity: Info
Found in abydos/phonetic/_beider_morse.py by pylint

TODO final_rules1: Tuple[Any, ...], ^ |

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

        zero_pad: bool = True,
Severity: Info
Found in abydos/phonetic/_soundex.py by pylint

TODO zero_pad: bool = True, ^ |

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

        term: str,
Severity: Info
Found in abydos/phonetic/_beider_morse.py by pylint

TODO term: str, ^ |

Parameters differ from overridden 'encode' method
Open

    def encode(self, word: str, **kwargs: Any) -> str:
Severity: Minor
Found in abydos/phonetic/_soundex.py by pylint

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

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

            'ande',

TODO 'ande', ^ |

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

            'arne',

TODO 'arne', ^ |

Too few public methods (1/2)
Open

class SnowballSwedish(_Snowball):

Used when class has too few public methods, so be sure it's really worth it.

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

            'ane',

TODO 'ane', ^ |

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

            'ers',

TODO 'ers', ^ |

Too many branches (17/12)
Open

    def stem_dict(self, word: str) -> Dict[str, str]:
Severity: Info
Found in abydos/stemmer/_schinke.py by pylint

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

Too few public methods (1/2)
Open

class SnowballGerman(_Snowball):
Severity: Info
Found in abydos/stemmer/_snowball_german.py by pylint

Used when class has too few public methods, so be sure it's really worth it.

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

                            os.path.join(check_path, package + '.xml')
Severity: Info
Found in abydos/util/_data.py by pylint

TODO os.path.join(check_path, package + '.xml') ^ |

Too many statements (79/50)
Open

    def encode(self, lname: str) -> str:

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

        term: str,
Severity: Info
Found in abydos/phonetic/_beider_morse.py by pylint

TODO term: str, ^ |

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

        language_arg: Union[str, int] = 0,
Severity: Info
Found in abydos/phonetic/_beider_morse.py by pylint

TODO language_arg: Union[str, int] = 0, ^ |

Too many local variables (28/15)
Open

    def _phonetic(
Severity: Info
Found in abydos/phonetic/_beider_morse.py by pylint

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

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

        max_length: int = 4,
Severity: Info
Found in abydos/phonetic/_soundex.py by pylint

TODO max_length: int = 4, ^ |

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

            'arens',

TODO 'arens', ^ |

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

                and word[-2] == 'k'

TODO and word[-2] == 'k' ^ |

Too many branches (18/12)
Open

    def stem(self, word: str) -> str:

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

Severity
Category
Status
Source
Language