chrislit/abydos

View on GitHub
abydos/distance/_block_levenshtein.py

Summary

Maintainability
A
0 mins
Test Coverage

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

        d = super(BlockLevenshtein, self).dist_abs(src, tar)

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

        cost: Tuple[float, float, float, float] = (1, 1, 1, 1),

TODO cost: Tuple[float, float, float, float] = (1, 1, 1, 1), ^ |

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

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

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

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

        **kwargs: Any

TODO **kwargs: Any ^ |

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

        self,

TODO self, ^ |

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

            p = self.lcs.lcsstr(src, tar)

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

There are no issues that match your filters.

Category
Status