Showing 4,191 of 4,191 total issues
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
alphabet: Optional[
- Read upRead up
- Exclude checks
TODO alphabet: Optional[ ^ |
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
normalizer: Callable[[List[float]], float] = max,
- Read upRead up
- Exclude checks
TODO normalizer: Callable[[List[float]], float] = max, ^ |
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
taper: bool = False,
- Read upRead up
- Exclude checks
TODO taper: bool = False, ^ |
Consider merging these comparisons with in
to ch1 in ('H', 'W')
Open
if ch1 != ch2 and (ch1 == 'H' or ch1 == 'W'):
- Read upRead up
- Exclude checks
To check if a variable is equal to one of many values,combine the values into a tuple and check if the variable is contained in
it instead of checking for equality against each of the values.This is faster and less verbose.
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 ^ |
Wrong hanging indentation before block (add 4 spaces). Open
intersection_type: str = 'crisp',
- Read upRead up
- Exclude checks
TODO intersection_type: str = 'crisp', ^ |
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
self,
- Read upRead up
- Exclude checks
TODO self, ^ |
Wrong hanging indentation before block (add 4 spaces). Open
alphabet: Optional[
- Read upRead up
- Exclude checks
TODO alphabet: Optional[ ^ |
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...).
Wrong hanging indentation before block (add 4 spaces). Open
alphabet: Optional[
- Read upRead up
- Exclude checks
TODO alphabet: Optional[ ^ |
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
intersection_type: str = 'crisp',
- Read upRead up
- Exclude checks
TODO intersection_type: str = 'crisp', ^ |
Too many local variables (18/15) Open
def _alignment_matrix(
- 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
**kwargs: Any
- Read upRead up
- Exclude checks
TODO **kwargs: Any ^ |
Wrong hanging indentation before block (add 4 spaces). Open
self,
- Read upRead up
- Exclude checks
TODO self, ^ |