chrislit/abydos

View on GitHub

Showing 4,191 of 4,191 total issues

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

        a = self._intersection_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/_sorgenfrei.py by pylint

TODO **kwargs: Any ^ |

Unable to import 'numpy'
Open

from numpy import zeros as np_zeros
Severity: Critical
Found in abydos/distance/_ratcliff_obershelp.py by pylint

Used when pylint has been unable to import a module.

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

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

TODO self, ^ |

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

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

TODO self, ^ |

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

        a = self._intersection_card()

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

Used when pylint has been unable to import a module.

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

        n = self._population_unique_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

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

TODO intersection_type: str = 'crisp', ^ |

Argument name ac doesn't conform to snake_case naming style
Open

        def _henderson_heron(
Severity: Info
Found in abydos/distance/_raup_crick.py by pylint

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

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

        bc = self.dist(src, tar)
Severity: Info
Found in abydos/distance/_bhattacharyya.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/_manhattan.py by pylint

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

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

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

TODO self, ^ |

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

        metric: str = 'euclidean',
Severity: Info
Found in abydos/distance/_typo.py by pylint

TODO metric: str = 'euclidean', ^ |

Using possibly undefined loop variable 'row'
Open

            return kb_array.index(row), row.index(char)
Severity: Minor
Found in abydos/distance/_typo.py by pylint

Used when a loop variable (i.e. defined by a for loop or a list comprehension or a generator expression) is used outside the loop.

Consider using enumerate instead of iterating with range and len
Open

            for j in range(len(tar)):
Severity: Info
Found in abydos/distance/_typo.py by pylint

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

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

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

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

        d = self._total_complement_card()
Severity: Info
Found in abydos/distance/_kendall_tau.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

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

TODO intersection_type: str = 'crisp', ^ |

Severity
Category
Status
Source
Language