chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

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

                'z',
Severity: Info
Found in abydos/stemmer/_porter.py by pylint

TODO 'z', ^ |

Too many statements (169/50)
Open

    def stem(self, word: str) -> str:
Severity: Info
Found in abydos/stemmer/_porter.py by pylint

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

            'dd',
Severity: Info
Found in abydos/stemmer/_lovins.py by pylint

TODO 'dd', ^ |

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

            'nn',
Severity: Info
Found in abydos/stemmer/_lovins.py by pylint

TODO 'nn', ^ |

Method could be a function
Open

    def _cond_bb(self, word: str, suffix_len: int) -> bool:
Severity: Info
Found in abydos/stemmer/_lovins.py by pylint

Used when a method doesn't use its bound instance, and so could be written as a function.

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

                len(word[r1_start:]) >= 1
Severity: Info
Found in abydos/stemmer/_snowball_dutch.py by pylint

TODO len(word[r1_start:]) >= 1 ^ |

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

            len(word) >= 4
Severity: Info
Found in abydos/stemmer/_snowball_dutch.py by pylint

TODO len(word) >= 4 ^ |

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

        terminate: bool,
Severity: Info
Found in abydos/stemmer/_paice_husk.py by pylint

TODO terminate: bool, ^ |

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

            len(word) > 2
Severity: Info
Found in abydos/stemmer/_porter2.py by pylint

TODO len(word) > 2 ^ |

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

            'ize',
Severity: Info
Found in abydos/stemmer/_porter2.py by pylint

TODO 'ize', ^ |

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

                len(word[r1_start:]) >= 1
Severity: Info
Found in abydos/stemmer/_porter2.py by pylint

TODO len(word[r1_start:]) >= 1 ^ |

Too many branches (114/12)
Open

    def stem(self, word: str) -> str:
Severity: Info
Found in abydos/stemmer/_porter2.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

            'andes',

TODO 'andes', ^ |

Method could be a function
Open

    def _cond_e(self, word: str, suffix_len: int) -> bool:
Severity: Info
Found in abydos/stemmer/_lovins.py by pylint

Used when a method doesn't use its bound instance, and so could be written as a function.

Method could be a function
Open

    def _cond_n(self, word: str, suffix_len: int) -> bool:
Severity: Info
Found in abydos/stemmer/_lovins.py by pylint

Used when a method doesn't use its bound instance, and so could be written as a function.

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

            and word[-1] in {'d', 'k', 't'}
Severity: Info
Found in abydos/stemmer/_snowball_dutch.py by pylint

TODO and word[-1] in {'d', 'k', 't'} ^ |

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

                        word[-3] not in self._vowels and word[-5:-2] != 'gem'
Severity: Info
Found in abydos/stemmer/_snowball_dutch.py by pylint

TODO word[-3] not in self._vowels and word[-5:-2] != 'gem' ^ |

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

            and word[-3] == word[-2]
Severity: Info
Found in abydos/stemmer/_snowball_dutch.py by pylint

TODO and word[-3] == word[-2] ^ |

Method could be a function
Open

    def _undouble(self, word: str) -> str:
Severity: Info
Found in abydos/stemmer/_snowball_dutch.py by pylint

Used when a method doesn't use its bound instance, and so could be written as a function.

Too many branches (38/12)
Open

    def stem(self, word: str) -> str:
Severity: Info
Found in abydos/stemmer/_snowball_dutch.py by pylint

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

Severity
Category
Status
Source
Language