Showing 4,191 of 4,191 total issues
Too many lines in module (1747/1000) Open
# Copyright 2019-2020 by Christopher C. Little.
- Read upRead up
- Exclude checks
Used when a module has too many lines, reducing its readability.
Unable to import 'numpy' Open
from numpy import float_, inf, zeros
- Read upRead up
- Exclude checks
Used when pylint has been unable to import a module.
Variable name ch
doesn't conform to snake_case naming style Open
for ch in src:
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).
Variable name b
doesn't conform to snake_case naming style Open
b = self._src_only_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 n3
doesn't conform to snake_case naming style Open
n3 = self._population_unique_card() ** 3
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).
Unnecessary else
after return
Open
if self.metric:
- Read upRead up
- Exclude checks
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,
- Read upRead up
- Exclude checks
TODO tokenizer: Optional[_Tokenizer] = None, ^ |
Parameters differ from overridden 'sim' method Open
def sim(self, src: str, tar: str, beta: float = 8) -> float:
- Read upRead up
- Exclude checks
Used when a method has a different number of arguments than in the implemented interface or in an overridden method.
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
and tp not in tar_matched
- Read upRead up
- Exclude checks
TODO and tp not in tar_matched ^ |
Parameters differ from overridden 'dist_abs' method Open
def dist_abs(self, src: str, tar: str, *args: Any, **kwargs: Any) -> float:
- Read upRead up
- Exclude checks
Used when a method has a different number of arguments than in the implemented interface or in an overridden method.
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 c
doesn't conform to snake_case naming style Open
c = self._tar_only_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 a
doesn't conform to snake_case naming style Open
a = self._intersection_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
gap_cost: float = 1,
- Read upRead up
- Exclude checks
TODO gap_cost: float = 1, ^ |
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.
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 ^ |
Variable name d
doesn't conform to snake_case naming style Open
d = self._total_complement_card()
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).