chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

Line too long (116/100)
Open

# if "pattern" matches and acceptance is true, name is in one of the languages indicated and no others  # noqa: E501

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

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

                    name
Severity: Info
Found in abydos/phonetic/_phonex.py by pylint

TODO name ^ |

Too many branches (27/12)
Open

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

        max_length: int = 5,
Severity: Info
Found in abydos/phonetic/_phonic.py by pylint

TODO max_length: int = 5, ^ |

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

                    or (i + 3 == elen and ename[i + 1 : i + 4] == 'NED')
Severity: Info
Found in abydos/phonetic/_metaphone.py by pylint

TODO or (i + 3 == elen and ename[i + 1 : i + 4] == 'NED') ^ |

Too many branches (57/12)
Open

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

                loc != -1

TODO loc != -1 ^ |

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

                            and pos == 0

TODO and pos == 0 ^ |

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

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

TODO ('c', 'k'), ^ |

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

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

TODO ('sh', 's2'), ^ |

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 (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.

Line too long (112/100)
Open

# These rules are substitution rules within the phonetic character space rather than mapping rules  # noqa: E501

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

Too few public methods (1/2)
Open

class ExtractPositionFrequency(_Fingerprint):

Used when class has too few public methods, so be sure it's really worth it.

Too many local variables (25/15)
Open

    def fingerprint_tuple(

Used when a function or method has too many local variables.

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

        most_common: Tuple[str, ...] = MOST_COMMON_LETTERS_CG,

TODO mostcommon: Tuple[str, ...] = MOSTCOMMONLETTERSCG, ^ |

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

        qval: int = 2,
Severity: Info
Found in abydos/fingerprint/_qgram.py by pylint

TODO qval: int = 2, ^ |

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

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

TODO self, ^ |

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

        normalizer: str = 'proportional',
Severity: Info
Found in abydos/distance/_koppen_i.py by pylint

TODO normalizer: str = 'proportional', ^ |

Variable name a doesn't conform to snake_case naming style
Open

        a = self._intersection_card()
Severity: Info
Found in abydos/distance/_stuart_tau.py by pylint

Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).

Severity
Category
Status
Source
Language