chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

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

            word: str,
Severity: Info
Found in abydos/phonetic/_phonix.py by pylint

TODO word: str, ^ |

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

            'ede',

TODO 'ede', ^ |

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

                and word[-3] in self._st_endings
Severity: Info
Found in abydos/stemmer/_snowball_german.py by pylint

TODO and word[-3] in self.stendings ^ |

Consider using enumerate instead of iterating with range and len
Open

        for i in range(0, len(word)):
Severity: Info
Found in abydos/stemmer/_snowball_german.py by pylint

Emitted when code that iterates with range and len is encountered. Such code can be simplified by using the enumerate builtin.

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

    force: bool = False,
Severity: Info
Found in abydos/util/_data.py by pylint

TODO force: bool = False, ^ |

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

                        i : i + pattern_length
Severity: Info
Found in abydos/phonetic/_beider_morse.py by pylint

TODO i : i + pattern_length ^ |

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

        name_mode: str = 'gen',
Severity: Info
Found in abydos/phonetic/_beider_morse.py by pylint

TODO name_mode: str = 'gen', ^ |

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

        concat: bool = False,
Severity: Info
Found in abydos/phonetic/_beider_morse.py by pylint

TODO concat: bool = False, ^ |

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

        filter_langs: bool = False,
Severity: Info
Found in abydos/phonetic/_beider_morse.py by pylint

TODO filter_langs: bool = False, ^ |

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

        var: str = 'American',
Severity: Info
Found in abydos/phonetic/_soundex.py by pylint

TODO var: str = 'American', ^ |

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

            tar: str,
Severity: Info
Found in abydos/phonetic/_phonix.py by pylint

TODO tar: str, ^ |

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

            'orna',

TODO 'orna', ^ |

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

            word[-1] == 'e'

TODO word[-1] == 'e' ^ |

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

            'ast',

TODO 'ast', ^ |

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

            'arna',

TODO 'arna', ^ |

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

                    word[-2:] == 'ig'
Severity: Info
Found in abydos/stemmer/_snowball_german.py by pylint

TODO word[-2:] == 'ig' ^ |

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

            'erna',

TODO 'erna', ^ |

Too many branches (32/12)
Open

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

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

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

        language_arg: int,
Severity: Info
Found in abydos/phonetic/_beider_morse.py by pylint

TODO language_arg: int, ^ |

Too many branches (14/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