chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

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

        ab = self._src_card()
Severity: Info
Found in abydos/distance/_johnson.py by pylint

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

Unable to import 'numpy'
Open

from numpy import float_ as np_float
Severity: Critical
Found in abydos/distance/_meta_levenshtein.py by pylint

Used when pylint has been unable to import a module.

Consider using enumerate instead of iterating with range and len
Open

            for j in range(len(tar_ordered)):

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

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

TODO **kwargs: Any ^ |

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

        normalizer: str = 'proportional',

TODO normalizer: str = 'proportional', ^ |

Too many statements (52/50)
Open

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

Used when a function or method has too many statements. You should then split it in smaller functions / methods.

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

        gap_open: float = 1,
Severity: Info
Found in abydos/distance/_gotoh.py by pylint

TODO gap_open: float = 1, ^ |

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

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

TODO self, ^ |

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

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

TODO **kwargs: Any ^ |

Unnecessary else after return
Open

        if not delta_ab:
Severity: Info
Found in abydos/distance/_kuhns_xii.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.

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

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

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

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

        b = self._src_only_card()
Severity: Info
Found in abydos/distance/_kuhns_iv.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

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

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...).

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

        **kwargs: Any

TODO **kwargs: Any ^ |

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

        gap_ext: float = 0.4,
Severity: Info
Found in abydos/distance/_gotoh.py by pylint

TODO gap_ext: float = 0.4, ^ |

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

        mismatch_factor: float = 0.5,
Severity: Info
Found in abydos/distance/_fellegi_sunter.py by pylint

TODO mismatch_factor: float = 0.5, ^ |

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

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

TODO alphabet: Optional[ ^ |

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

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

TODO intersection_type: str = 'crisp', ^ |

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

        intersection_type: str = 'crisp',

TODO intersection_type: str = 'crisp', ^ |

Severity
Category
Status
Source
Language