Showing 4,191 of 4,191 total issues
Wrong hanging indentation before block (add 4 spaces). Open
local_length_evaluator: Optional[Callable[[float], float]] = None,
- Read upRead up
- Exclude checks
TODO locallengthevaluator: Optional[Callable[[float], float]] = None, ^ |
Too many local variables (17/15) Open
def dist_abs(self, src: str, tar: str) -> float:
- Read upRead up
- Exclude checks
Used when a function or method has too many local variables.
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...).
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
**kwargs: Any
- Read upRead up
- Exclude checks
TODO **kwargs: Any ^ |
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...).
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...).
Wrong hanging indentation before block (add 4 spaces). Open
**kwargs: Any
- Read upRead up
- Exclude checks
TODO **kwargs: Any ^ |
Variable name ab
doesn't conform to snake_case naming style Open
ab = self._src_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
self._token_matcher(
- Read upRead up
- Exclude checks
TODO self.tokenmatcher( ^ |
Unnecessary elif
after break
Open
if src_cur <= ofs['src_cur'] or tar_cur <= ofs['tar_cur']:
- Read upRead up
- Exclude checks
Used in order to highlight an unnecessary block of code following an if containing a break statement. As such, it will warn when it encounters an else following a chain of ifs, all of them containing a break statement.
Wrong hanging indentation before block (add 4 spaces). Open
tokenizers: Optional[List[_Tokenizer]] = None,
- Read upRead up
- Exclude checks
TODO tokenizers: Optional[List[_Tokenizer]] = None, ^ |
Variable name s
doesn't conform to snake_case naming style Open
s = _char_at(src, pos)
- 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
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
tokenizer: Optional[_Tokenizer] = None,
- Read upRead up
- Exclude checks
TODO tokenizer: Optional[_Tokenizer] = None, ^ |
Wrong hanging indentation before block (add 4 spaces). Open
self, tokenizer: Optional[_Tokenizer] = None, **kwargs: Any
- Read upRead up
- Exclude checks
TODO self, tokenizer: Optional[_Tokenizer] = None, **kwargs: Any ^ |
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 instance attributes (8/7) Open
class Sift4Extended(_Distance):
- Read upRead up
- Exclude checks
Used when class has too many instance attributes, try to reduce this to get a simpler (and so easier to use) class.