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_xii.py by pylint

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

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

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

TODO self, ^ |

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

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

TODO intersection_type: str = 'crisp', ^ |

Unable to import 'numpy'
Open

import numpy as np
Severity: Critical
Found in abydos/distance/_minhash.py by pylint

Used when pylint has been unable to import a module.

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

            sp /= c + d

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/_masi.py by pylint

TODO **kwargs: Any ^ |

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

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

TODO self, ^ |

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

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

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

Too many branches (13/12)
Open

    def corr(self, src: str, tar: str) -> float:

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(src_ordered)):

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

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

        d = self._total_complement_card()

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

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

        sp = c * c + d * d

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/_fellegi_sunter.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/_fellegi_sunter.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, ^ |

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

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

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

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

        d = self._total_complement_card()
Severity: Info
Found in abydos/distance/_azzoo.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/_minhash.py by pylint

TODO self, ^ |

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

        long_strings: bool = False,
Severity: Info
Found in abydos/distance/_jaro_winkler.py by pylint

TODO long_strings: bool = False, ^ |

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

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