Showing 4,191 of 4,191 total issues
Line too long (116/100) Open
# if "pattern" matches and acceptance is true, name is in one of the languages indicated and no others # noqa: E501
- Read upRead up
- Exclude checks
Used when a line is longer than a given number of characters.
Wrong hanging indentation before block (add 4 spaces). Open
name
- Read upRead up
- Exclude checks
TODO name ^ |
Too many branches (27/12) Open
def encode(self, word: str) -> str:
- 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
max_length: int = 5,
- Read upRead up
- Exclude checks
TODO max_length: int = 5, ^ |
Wrong hanging indentation before block (add 4 spaces). Open
or (i + 3 == elen and ename[i + 1 : i + 4] == 'NED')
- Read upRead up
- Exclude checks
TODO or (i + 3 == elen and ename[i + 1 : i + 4] == 'NED') ^ |
Too many branches (57/12) Open
def encode(self, word: str) -> str:
- 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
loc != -1
- Read upRead up
- Exclude checks
TODO loc != -1 ^ |
Wrong hanging indentation before block (add 4 spaces). Open
and pos == 0
- Read upRead up
- Exclude checks
TODO and pos == 0 ^ |
Wrong hanging indentation before block (add 4 spaces). Open
('c', 'k'),
- Read upRead up
- Exclude checks
TODO ('c', 'k'), ^ |
Wrong hanging indentation before block (add 4 spaces). Open
('sh', 's2'),
- Read upRead up
- Exclude checks
TODO ('sh', 's2'), ^ |
Line too long (135/100) Open
# {i,e} are interchangeable if non-stressed, while in German "u" can actually be from "ü" (that is equivalent to "i") # noqa: E501
- Read upRead up
- Exclude checks
Used when a line is longer than a given number of characters.
Line too long (102/100) Open
), # Applebaum < Appelbaum (English + blend English-something forms as Finklestein) # noqa: E501
- Read upRead up
- Exclude checks
Used when a line is longer than a given number of characters.
Line too long (112/100) Open
# These rules are substitution rules within the phonetic character space rather than mapping rules # noqa: E501
- Read upRead up
- Exclude checks
Used when a line is longer than a given number of characters.
Too few public methods (1/2) Open
class ExtractPositionFrequency(_Fingerprint):
- Read upRead up
- Exclude checks
Used when class has too few public methods, so be sure it's really worth it.
Too many local variables (25/15) Open
def fingerprint_tuple(
- 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
most_common: Tuple[str, ...] = MOST_COMMON_LETTERS_CG,
- Read upRead up
- Exclude checks
TODO mostcommon: Tuple[str, ...] = MOSTCOMMONLETTERSCG, ^ |
Wrong hanging indentation before block (add 4 spaces). Open
qval: int = 2,
- Read upRead up
- Exclude checks
TODO qval: int = 2, ^ |
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
normalizer: str = 'proportional',
- Read upRead up
- Exclude checks
TODO normalizer: str = 'proportional', ^ |
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...).