chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

Too many arguments (8/5)
Open

    def _phonetic(
Severity: Info
Found in abydos/phonetic/_beider_morse.py by pylint

Used when a function or method takes too many arguments.

Too many branches (23/12)
Open

    def _phonetic(
Severity: Info
Found in abydos/phonetic/_beider_morse.py by pylint

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

Consider using enumerate instead of iterating with range and len
Open

        for i in range(len(alt_array)):
Severity: Info
Found in abydos/phonetic/_beider_morse.py by pylint

Emitted when code that iterates with range and len is encountered. Such code can be simplified by using the enumerate builtin.

Redefining argument with the local name 'resource_name'
Open

            for resource_name in coll[2]:
Severity: Info
Found in abydos/util/_data.py by pylint

Used when a local name is redefining an argument, which might suggest a potential error. This is taken in account only for a handful of name binding operations, such as for iteration, with statement assignment and exception handler assignment.

Too many nested blocks (7/5)
Open

    for coll in collections:
Severity: Info
Found in abydos/util/_data.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

            'ades',

TODO 'ades', ^ |

Too many branches (13/12)
Open

def download_package(
Severity: Info
Found in abydos/util/_data.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

            'erns',

TODO 'erns', ^ |

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

            'ens',

TODO 'ens', ^ |

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

            'het',

TODO 'het', ^ |

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

        rules: Tuple[Any, ...],
Severity: Info
Found in abydos/phonetic/_beider_morse.py by pylint

TODO rules: Tuple[Any, ...], ^ |

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

                    'iuntur',
Severity: Info
Found in abydos/stemmer/_schinke.py by pylint

TODO 'iuntur', ^ |

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

        final_rules1: Tuple[Any, ...],
Severity: Info
Found in abydos/phonetic/_beider_morse.py by pylint

TODO final_rules1: Tuple[Any, ...], ^ |

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

    url: Optional[str] = None,
Severity: Info
Found in abydos/util/_data.py by pylint

TODO url: Optional[str] = None, ^ |

Method could be a function
Open

    def _language(self, name: str, name_mode: str) -> int:
Severity: Info
Found in abydos/phonetic/_beider_morse.py by pylint

Used when a method doesn't use its bound instance, and so could be written as a function.

Too many arguments (7/5)
Open

    def _redo_language(
Severity: Info
Found in abydos/phonetic/_beider_morse.py by pylint

Used when a function or method takes too many arguments.

Parameters differ from overridden 'encode_alpha' method
Open

    def encode_alpha(self, fname: str) -> str:

Used when a method has a different number of arguments than in the implemented interface or in an overridden method.

Consider using enumerate instead of iterating with range and len
Open

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

        name_mode: str,
Severity: Info
Found in abydos/phonetic/_beider_morse.py by pylint

TODO name_mode: str, ^ |

Too many arguments (6/5)
Open

    def __init__(
Severity: Info
Found in abydos/phonetic/_beider_morse.py by pylint

Used when a function or method takes too many arguments.

Severity
Category
Status
Source
Language