chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

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

                    _is_vowel(current + 1) or _string_at(current, 2, {'WH'})

TODO isvowel(current + 1) or stringat(current, 2, {'WH'}) ^ |

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

                    and (

TODO and ( ^ |

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, ^ |

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

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

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

Consider using enumerate instead of iterating with range and len
Open

            for i in range(len(word)):
Severity: Info
Found in abydos/phonetic/_haase.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

                        not right
Severity: Info
Found in abydos/phonetic/_nrl.py by pylint

TODO not right ^ |

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

        self,
Severity: Info
Found in abydos/phonetic/_dolby.py by pylint

TODO self, ^ |

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

                        and (

TODO and ( ^ |

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

                        # e.g., 'bough'

TODO # e.g., 'bough' ^ |

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

                    and _string_at((current - 2), 2, {'IE'})

TODO and stringat((current - 2), 2, {'IE'}) ^ |

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

                                and (_get_at(3) != 'W')

TODO and (getat(3) != 'W') ^ |

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

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

TODO 'Ä', ^ |

Too many statements (102/50)
Open

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

                'RC',
Severity: Info
Found in abydos/phonetic/_dolby.py by pylint

TODO 'RC', ^ |

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

                        # e.g., 'broughton'

TODO # e.g., 'broughton' ^ |

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

                    (

TODO ( ^ |

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

                    and _string_at((current + 1), 1, {'M', 'N', 'L', 'W'})

TODO and stringat((current + 1), 1, {'M', 'N', 'L', 'W'}) ^ |

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

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

TODO 'Ä', ^ |

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

            or (self._modified and word[-2:] == 'YE')
Severity: Info
Found in abydos/phonetic/_nysiis.py by pylint

TODO or (self._modified and word[-2:] == 'YE') ^ |

Severity
Category
Status
Source
Language