chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

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

                                abbr in fname for abbr in ('i.', 'v.', 'x.')

TODO abbr in fname for abbr in ('i.', 'v.', 'x.') ^ |

Too few public methods (1/2)
Open

class LCCutter(_Fingerprint):
Severity: Info
Found in abydos/fingerprint/_lc_cutter.py by pylint

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

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

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

TODO self, ^ |

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

        n_bits: int = 16,
Severity: Info
Found in abydos/fingerprint/_position.py by pylint

TODO n_bits: int = 16, ^ |

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

        alphabet: Optional[
Severity: Info
Found in abydos/distance/_koppen_i.py by pylint

TODO alphabet: Optional[ ^ |

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

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

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

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

        n = self._population_unique_card()
Severity: Info
Found in abydos/distance/_kuhns_x.py by pylint

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

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

            n += 1
Severity: Info
Found in abydos/distance/_kuhns_x.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

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

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

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

        corpus: Optional[UnigramCorpus] = None,
Severity: Info
Found in abydos/distance/_tf_idf.py by pylint

TODO corpus: Optional[UnigramCorpus] = None, ^ |

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

                    loc == len(full_name) - len(match_context)

TODO loc == len(fullname) - len(matchcontext) ^ |

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

        variant: int = 1,
Severity: Info
Found in abydos/fingerprint/_consonant.py by pylint

TODO variant: int = 1, ^ |

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

        self,

TODO self, ^ |

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

        n_bits: int = 16,

TODO n_bits: int = 16, ^ |

Method could be a function
Open

    def lcsseq(self, src: str, tar: str) -> str:
Severity: Info
Found in abydos/distance/_lcsseq.py by pylint

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

Useless super delegation in method '__init__'
Open

    def __init__(self, **kwargs: Any) -> None:
Severity: Minor
Found in abydos/distance/_marking_metric.py by pylint

Used whenever we can detect that an overridden method is useless, relying on super() delegation to do the same thing as another method from the MRO.

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

        alphabet: Optional[
Severity: Info
Found in abydos/distance/_baulieu_xv.py by pylint

TODO alphabet: Optional[ ^ |

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

            s = 0
Severity: Info
Found in abydos/distance/_bisim.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

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

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

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

        a = self._intersection_card()
Severity: Info
Found in abydos/distance/_koppen_i.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