chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

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.

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

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

TODO and ename[i - 1] in self.ucv_set ^ |

Too many statements (91/50)
Open

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

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

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

TODO ('tia', 'sia'), ^ |

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

                lokal_ordet[0:1] in self._mjuka_vokaler
Severity: Info
Found in abydos/phonetic/_sfinx_bis.py by pylint

TODO lokalordet[0:1] in self.mjuka_vokaler ^ |

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

                lokal_ordet[0:1] == 'C'
Severity: Info
Found in abydos/phonetic/_sfinx_bis.py by pylint

TODO lokal_ordet[0:1] == 'C' ^ |

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

                and lokal_ordet[1:2] in self._mjuka_vokaler
Severity: Info
Found in abydos/phonetic/_sfinx_bis.py by pylint

TODO and lokalordet[1:2] in self.mjuka_vokaler ^ |

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

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

TODO ('d', 't'), ^ |

Line too long (135/100)
Open

    # {i,e} are interchangeable if non-stressed, while in German "u" can actually be from "ü" (that is equivalent to "i")  # noqa: E501

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

Line too long (135/100)
Open

    # "e" and "i" ARE TO BE OMITTED BEFORE (SYLLABIC) n & l: Halperin=Halpern; Frankel = Frankl, Finkelstein = Finklstein  # noqa: E501

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

Line too long (109/100)
Open

    ),  # sound "h" (absent) can be expressed via /x/, Cojab in Spanish = Kohab ; Hakim = Fakim  # noqa: E501

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

Line too long (142/100)
Open

    # "ALL" DIPHTHONGS are interchangeable BETWEEN THEM and with monophthongs of which they are composed ("D" means "diphthong")  # noqa: E501

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

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.

Too many branches (27/12)
Open

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

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

Line too long (107/100)
Open

# if "pattern" matches and acceptance is false, name is not in any of the languages indicated  # 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] == 'I'
Severity: Info
Found in abydos/phonetic/_metaphone.py by pylint

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

Too many lines in module (6216/1000)
Open

# Copyright 2014-2020 by Christopher C. Little.

Used when a module has too many lines, reducing its readability.

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

        max_length: int = -1,

TODO max_length: int = -1, ^ |

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

        zero_pad: bool = False,

TODO zero_pad: bool = False, ^ |

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

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

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

Severity
Category
Status
Source
Language