chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

Line too long (102/100)
Open

    ),  # Applebaum < Appelbaum (English + blend English-something forms as Finklestein)  # noqa: E501

Used when a line is longer than a given number of characters.

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

                    and ename[i - 1] == 'D'
Severity: Info
Found in abydos/phonetic/_metaphone.py by pylint

TODO and ename[i - 1] == 'D' ^ |

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

                    i > 0
Severity: Info
Found in abydos/phonetic/_metaphone.py by pylint

TODO i > 0 ^ |

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

        self,
Severity: Info
Found in abydos/fingerprint/_count.py by pylint

TODO self, ^ |

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

        self, lname: str, fname: str = '', qual: str = '', normalize: int = 0

TODO self, lname: str, fname: str = '', qual: str = '', normalize: int = 0 ^ |

Method could be a function
Open

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

                ('ce', 'se'),
Severity: Info
Found in abydos/phonetic/_caverphone.py by pylint

TODO ('ce', 'se'), ^ |

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

                ('tio', 'sio'),
Severity: Info
Found in abydos/phonetic/_caverphone.py by pylint

TODO ('tio', 'sio'), ^ |

Line too long (123/100)
Open

    ),  # maybe to add a rule for m/n before a consonant that disappears [preceeding vowel becomes nasalized]  # noqa: E501

Used when a line is longer than a given number of characters.

Line too long (110/100)
Open

    ),  # maybe to add a rule for final m/n that disappears [preceeding vowel becomes nasalized]  # noqa: E501

Used when a line is longer than a given number of characters.

Line too long (103/100)
Open

# e.g., ^ means start of word, $ Means End Of Word, [^ei] means anything but e or i, etc.  # noqa: E501

Used when a line is longer than a given number of characters.

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

        self,

TODO self, ^ |

Too many branches (13/12)
Open

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

                    ename[i + 1 : i + 2] == 'G'
Severity: Info
Found in abydos/phonetic/_metaphone.py by pylint

TODO ename[i + 1 : i + 2] == 'G' ^ |

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

                    and ename[i + 1] == 'I'
Severity: Info
Found in abydos/phonetic/_metaphone.py by pylint

TODO and ename[i + 1] == 'I' ^ |

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

                    and i + 2 <= elen
Severity: Info
Found in abydos/phonetic/_metaphone.py by pylint

TODO and i + 2 <= elen ^ |

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

                and (len(fname[loc:]) == len(numeral))

TODO and (len(fname[loc:]) == len(numeral)) ^ |

Parameters differ from overridden 'encode' method
Open

    def encode(self, lname: str, fname: str = '.') -> str:
Severity: Minor
Found in abydos/phonetic/_davidson.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 (13/12)
Open

        def _koda_foersta_ljudet(lokal_ordet: str) -> str:
Severity: Info
Found in abydos/phonetic/_sfinx_bis.py by pylint

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

Line too long (106/100)
Open

    ),  # in german, "y" usually appears only in the last position; sometimes before a vowel  # noqa: E501

Used when a line is longer than a given number of characters.

Severity
Category
Status
Source
Language