chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

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

            or word[-2:] == 'IE'
Severity: Info
Found in abydos/phonetic/_nysiis.py by pylint

TODO or word[-2:] == 'IE' ^ |

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

                        and not _string_at(0, 5, {'CHORE'})

TODO and not stringat(0, 5, {'CHORE'}) ^ |

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

                            and (

TODO and ( ^ |

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

                        and not _slavo_germanic()

TODO and not slavogermanic() ^ |

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

                    and not _string_at((current - 4), 2, {'ME', 'MA'})

TODO and not stringat((current - 4), 2, {'ME', 'MA'}) ^ |

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

                    (current == 0)

TODO (current == 0) ^ |

Parameters differ from overridden 'encode' method
Open

    def encode(self, word: str, alphabetic: bool = False) -> str:
Severity: Minor
Found in abydos/phonetic/_waahlin.py by pylint

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

Too many branches (15/12)
Open

    def encode(self, word: str) -> str:
Severity: Info
Found in abydos/phonetic/_haase.py by pylint

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

Too many statements (91/50)
Open

    def encode(self, word: str) -> str:
Severity: Info
Found in abydos/phonetic/_haase.py by pylint

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

Too many statements (77/50)
Open

    def encode(self, word: str) -> str:
Severity: Info
Found in abydos/phonetic/_dolby.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

                    (current + 1), 1, {'E', 'I', 'Y'}

TODO (current + 1), 1, {'E', 'I', 'Y'} ^ |

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

                    and not _slavo_germanic()

TODO and not slavogermanic() ^ |

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

                                (current == 0)

TODO (current == 0) ^ |

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

            pre: Optional[Set[str]] = None,
Severity: Info
Found in abydos/phonetic/_phonix.py by pylint

TODO pre: Optional[Set[str]] = None, ^ |

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

            'Ö',
Severity: Info
Found in abydos/phonetic/_waahlin.py by pylint

TODO 'Ö', ^ |

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

                and i == len(word) - 2
Severity: Info
Found in abydos/phonetic/_nysiis.py by pylint

TODO and i == len(word) - 2 ^ |

Unnecessary elif after continue
Open

            if i >= len(word):
Severity: Info
Found in abydos/phonetic/_nysiis.py by pylint

Used in order to highlight an unnecessary block of code following an if containing a continue statement. As such, it will warn when it encounters an else following a chain of ifs, all of them containing a continue statement.

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

                    and (

TODO and ( ^ |

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

                        or _string_at(

TODO or stringat( ^ |

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

                        or _string_at(0, 3, {'SCH'})

TODO or stringat(0, 3, {'SCH'}) ^ |

Severity
Category
Status
Source
Language