Showing 4,191 of 4,191 total issues
Too many local variables (21/15) Open
def sim(self, src: str, tar: str) -> float:
- Read upRead up
- Exclude checks
Used when a function or method has too many local variables.
Unable to import 'numpy' Open
from numpy import zeros as np_zeros
- Read upRead up
- Exclude checks
Used when pylint has been unable to import a module.
Wrong hanging indentation before block (add 4 spaces). Open
tokenizer: Optional[_Tokenizer] = None,
- Read upRead up
- Exclude checks
TODO tokenizer: Optional[_Tokenizer] = None, ^ |
Wrong hanging indentation before block (add 4 spaces). Open
self,
- Read upRead up
- Exclude checks
TODO self, ^ |
Wrong hanging indentation before block (add 4 spaces). Open
**kwargs: Any
- Read upRead up
- Exclude checks
TODO **kwargs: Any ^ |
Wrong hanging indentation before block (add 4 spaces). Open
**kwargs: Any
- Read upRead up
- Exclude checks
TODO **kwargs: Any ^ |
Wrong hanging indentation before block (add 4 spaces). Open
intersection_type: str = 'crisp',
- Read upRead up
- Exclude checks
TODO intersection_type: str = 'crisp', ^ |
Wrong hanging indentation before block (add 4 spaces). Open
corpus: Optional[UnigramCorpus] = None,
- Read upRead up
- Exclude checks
TODO corpus: Optional[UnigramCorpus] = None, ^ |
Wrong hanging indentation before block (add 4 spaces). Open
alphabet: Optional[
- Read upRead up
- Exclude checks
TODO alphabet: Optional[ ^ |
Wrong hanging indentation before block (add 4 spaces). Open
tokenizer: Optional[_Tokenizer] = None,
- Read upRead up
- Exclude checks
TODO tokenizer: Optional[_Tokenizer] = None, ^ |
Too many branches (19/12) Open
def sim(self, src: str, tar: str) -> float:
- Read upRead up
- Exclude checks
Used when a function or method has too many branches, making it hard to follow.
Wrong hanging indentation before block (add 4 spaces). Open
tokenizer: Optional[_Tokenizer] = None,
- Read upRead up
- Exclude checks
TODO tokenizer: Optional[_Tokenizer] = None, ^ |
Variable name ac
doesn't conform to snake_case naming style Open
ac = self._tar_card()
- Read upRead up
- Exclude checks
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
metric: Optional[_Distance] = None,
- Read upRead up
- Exclude checks
TODO metric: Optional[_Distance] = None, ^ |
Variable name n
doesn't conform to snake_case naming style Open
n = self._population_unique_card()
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).
Variable name fp
doesn't conform to snake_case naming style Open
fp = (a * a + b * b) / (a + b)
- Read upRead up
- Exclude checks
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
and (2 * num_com >= minv + i)
- Read upRead up
- Exclude checks
TODO and (2 * num_com >= minv + i) ^ |
Wrong hanging indentation before block (add 4 spaces). Open
self,
- Read upRead up
- Exclude checks
TODO self, ^ |
Wrong hanging indentation before block (add 4 spaces). Open
sim_func: Optional[Callable[[str, str], float]] = None,
- Read upRead up
- Exclude checks
TODO sim_func: Optional[Callable[[str, str], float]] = None, ^ |
Unable to import 'numpy' Open
from numpy import float_ as np_float
- Read upRead up
- Exclude checks
Used when pylint has been unable to import a module.