chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

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

        tokenizer: Optional[_Tokenizer] = None,
Severity: Info
Found in abydos/distance/_kuhns_ii.py by pylint

TODO tokenizer: Optional[_Tokenizer] = None, ^ |

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

        intersection_type: str = 'crisp',
Severity: Info
Found in abydos/distance/_warrens_v.py by pylint

TODO intersection_type: str = 'crisp', ^ |

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

        normalizer: Callable[[List[float]], float] = max,

TODO normalizer: Callable[[List[float]], float] = max, ^ |

Line too long (103/100)
Open

            ]  # type: List[Tuple[Union[Sequence[str], Set[str], FrozenSet[str]], float]]  # noqa: E501
Severity: Info
Found in abydos/distance/_flexmetric.py by pylint

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

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

        alphabet: Optional[

TODO alphabet: Optional[ ^ |

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

        tokenizer: Optional[_Tokenizer] = None,

TODO tokenizer: Optional[_Tokenizer] = None, ^ |

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

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

TODO normalizer: str = 'proportional', ^ |

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

        self, src: str, tar: str, top_n: Optional[int] = None
Severity: Info
Found in abydos/distance/_covington.py by pylint

TODO self, src: str, tar: str, top_n: Optional[int] = None ^ |

Unnecessary else after return
Open

                if s[-2:] == '--':
Severity: Info
Found in abydos/distance/_covington.py by pylint

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

Too many local variables (17/15)
Open

    def _alignment_matrix(

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

Too many branches (25/12)
Open

    def _alignment_matrix(

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

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

        b = self._src_only_card()

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

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

        **kwargs: Any
Severity: Info
Found in abydos/distance/_kuhns_ii.py by pylint

TODO **kwargs: Any ^ |

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

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

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

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

        self,

TODO self, ^ |

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

        **kwargs: Any

TODO **kwargs: Any ^ |

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

        b = self._src_only_card()

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

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

        b = self._src_only_card()
Severity: Info
Found in abydos/distance/_baulieu_ix.py by pylint

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

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

        b = self._src_only_card()
Severity: Info
Found in abydos/distance/_warrens_v.py by pylint

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

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

        self,
Severity: Info
Found in abydos/distance/_faith.py by pylint

TODO self, ^ |

Severity
Category
Status
Source
Language