Showing 4,191 of 4,191 total issues
Wrong hanging indentation before block (add 4 spaces). Open
abbr in fname for abbr in ('i.', 'v.', 'x.')
- Read upRead up
- Exclude checks
TODO abbr in fname for abbr in ('i.', 'v.', 'x.') ^ |
Too few public methods (1/2) Open
class LCCutter(_Fingerprint):
- Read upRead up
- Exclude checks
Used when class has too few public methods, so be sure it's really worth it.
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
n_bits: int = 16,
- Read upRead up
- Exclude checks
TODO n_bits: int = 16, ^ |
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...).
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 n
doesn't conform to snake_case naming style Open
n += 1
- 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
corpus: Optional[UnigramCorpus] = None,
- Read upRead up
- Exclude checks
TODO corpus: Optional[UnigramCorpus] = None, ^ |
Wrong hanging indentation before block (add 4 spaces). Open
loc == len(full_name) - len(match_context)
- Read upRead up
- Exclude checks
TODO loc == len(fullname) - len(matchcontext) ^ |
Wrong hanging indentation before block (add 4 spaces). Open
variant: int = 1,
- Read upRead up
- Exclude checks
TODO variant: int = 1, ^ |
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
n_bits: int = 16,
- Read upRead up
- Exclude checks
TODO n_bits: int = 16, ^ |
Method could be a function Open
def lcsseq(self, src: str, tar: str) -> str:
- Read upRead up
- Exclude checks
Used when a method doesn't use its bound instance, and so could be written as a function.
Useless super delegation in method '__init__' Open
def __init__(self, **kwargs: Any) -> None:
- Read upRead up
- Exclude checks
Used whenever we can detect that an overridden method is useless, relying on super() delegation to do the same thing as another method from the MRO.
Wrong hanging indentation before block (add 4 spaces). Open
alphabet: Optional[
- Read upRead up
- Exclude checks
TODO alphabet: Optional[ ^ |
Variable name s
doesn't conform to snake_case naming style Open
s = 0
- 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, ^ |
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...).