chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

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

                    and _string_at((current - 1), 3, {'ACH'})

TODO and stringat((current - 1), 3, {'ACH'}) ^ |

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

                            (current == 1) and _get_at(current - 1) == 'A'

TODO (current == 1) and getat(current - 1) == 'A' ^ |

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

                        or (

TODO or ( ^ |

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

                        or (

TODO or ( ^ |

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(0, 6, {'DANGER', 'RANGER', 'MANGER'})

TODO and not stringat(0, 6, {'DANGER', 'RANGER', 'MANGER'}) ^ |

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

                    _is_vowel(current - 1)

TODO isvowel(current - 1) ^ |

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

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

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

Unnecessary elif after return
Open

                if not pre:
Severity: Info
Found in abydos/phonetic/_phonix.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.

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

                and word[i : i + 2] == 'SH'
Severity: Info
Found in abydos/phonetic/_nysiis.py by pylint

TODO and word[i : i + 2] == 'SH' ^ |

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

                            {'A', 'H', 'K', 'L', 'O', 'Q', 'R', 'U', 'X'},
Severity: Info
Found in abydos/phonetic/_haase.py by pylint

TODO {'A', 'H', 'K', 'L', 'O', 'Q', 'R', 'U', 'X'}, ^ |

Too many nested blocks (6/5)
Open

        if self._max_length > 0:
Severity: Info
Found in abydos/phonetic/_dolby.py by pylint

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

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

                    (current == 1) and (_get_at(0) == 'M')

TODO (current == 1) and (getat(0) == 'M') ^ |

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

                        and _is_vowel(0)

TODO and isvowel(0) ^ |

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

                    and not _string_at((current - 1), 3, {'RGY', 'OGY'})

TODO and not stringat((current - 1), 3, {'RGY', 'OGY'}) ^ |

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

                    current, 4, {'SIAN'}

TODO current, 4, {'SIAN'} ^ |

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

                            2,

TODO 2, ^ |

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

                    ((current == last) and _is_vowel(current - 1))

TODO ((current == last) and isvowel(current - 1)) ^ |

Unnecessary else after return
Open

            if pre or post:
Severity: Info
Found in abydos/phonetic/_phonix.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.

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

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

TODO 'I', ^ |

Severity
Category
Status
Source
Language