chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

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

                            and (src[i + matches] == rule[0])
Severity: Info
Found in abydos/phonetic/_phonet.py by pylint

TODO and (src[i + matches] == rule[0]) ^ |

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

            for ch in {
Severity: Info
Found in abydos/phonetic/_phonet.py by pylint

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

Too many branches (17/12)
Open

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

                    'F',

TODO 'F', ^ |

Too many lines in module (1015/1000)
Open

# Copyright 2014-2020 by Christopher C. Little.

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

Too many boolean expressions in if statement (7/5)
Open

                        (

Used when an if statement contains too many boolean expressions.

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

                'Æ',
Severity: Info
Found in abydos/phonetic/_phonet.py by pylint

TODO 'Æ', ^ |

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

                'É',
Severity: Info
Found in abydos/phonetic/_phonet.py by pylint

TODO 'É', ^ |

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

                'Í',
Severity: Info
Found in abydos/phonetic/_phonet.py by pylint

TODO 'Í', ^ |

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

                'Ò',
Severity: Info
Found in abydos/phonetic/_phonet.py by pylint

TODO 'Ò', ^ |

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

                'Ö',
Severity: Info
Found in abydos/phonetic/_phonet.py by pylint

TODO 'Ö', ^ |

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

                            and (len(src) > (i + matches))
Severity: Info
Found in abydos/phonetic/_phonet.py by pylint

TODO and (len(src) > (i + matches)) ^ |

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

                            and not rule[0].isdigit()
Severity: Info
Found in abydos/phonetic/_phonet.py by pylint

TODO and not rule[0].isdigit() ^ |

Simplify chained comparison between the operands
Open

                    if (end1 >= start2) and (start2 >= 0):
Severity: Info
Found in abydos/phonetic/_phonet.py by pylint

This message is emitted when pylint encounters boolean operation likea < b and b < c, suggesting instead to refactor it to a < b < c

Unnecessary else after continue
Open

                    if _string_at(

Used in order to highlight an unnecessary block of code following an if containing a continue statement. As such, it will warn when it encounters an else following a chain of ifs, all of them containing a continue statement.

Unnecessary elif after continue
Open

                if (

Used in order to highlight an unnecessary block of code following an if containing a continue statement. As such, it will warn when it encounters an else following a chain of ifs, all of them containing a continue statement.

Unnecessary elif after continue
Open

                if _get_at(current + 1) == 'H':

Used in order to highlight an unnecessary block of code following an if containing a continue statement. As such, it will warn when it encounters an else following a chain of ifs, all of them containing a continue statement.

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

                'R',
Severity: Info
Found in abydos/phonetic/_henry_early.py by pylint

TODO 'R', ^ |

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

            'S',
Severity: Info
Found in abydos/phonetic/_henry_early.py by pylint

TODO 'S', ^ |

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

            'T',
Severity: Info
Found in abydos/phonetic/_henry_early.py by pylint

TODO 'T', ^ |

Severity
Category
Status
Source
Language