Showing 4,191 of 4,191 total issues
Wrong hanging indentation before block (add 4 spaces). Open
final_rules1: Tuple[Any, ...],
- Read upRead up
- Exclude checks
TODO final_rules1: Tuple[Any, ...], ^ |
Wrong hanging indentation before block (add 4 spaces). Open
zero_pad: bool = True,
- Read upRead up
- Exclude checks
TODO zero_pad: bool = True, ^ |
Wrong hanging indentation before block (add 4 spaces). Open
term: str,
- Read upRead up
- Exclude checks
TODO term: str, ^ |
Parameters differ from overridden 'encode' method Open
def encode(self, word: str, **kwargs: Any) -> str:
- 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
'ande',
- Read upRead up
- Exclude checks
TODO 'ande', ^ |
Wrong hanging indentation before block (add 4 spaces). Open
'arne',
- Read upRead up
- Exclude checks
TODO 'arne', ^ |
Too few public methods (1/2) Open
class SnowballSwedish(_Snowball):
- 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
'ane',
- Read upRead up
- Exclude checks
TODO 'ane', ^ |
Wrong hanging indentation before block (add 4 spaces). Open
'ers',
- Read upRead up
- Exclude checks
TODO 'ers', ^ |
Too many branches (17/12) Open
def stem_dict(self, word: str) -> Dict[str, str]:
- Read upRead up
- Exclude checks
Used when a function or method has too many branches, making it hard to follow.
Too few public methods (1/2) Open
class SnowballGerman(_Snowball):
- 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
os.path.join(check_path, package + '.xml')
- Read upRead up
- Exclude checks
TODO os.path.join(check_path, package + '.xml') ^ |
Too many statements (79/50) Open
def encode(self, lname: str) -> str:
- Read upRead up
- Exclude checks
Used when a function or method has too many statements. You should then split it in smaller functions / methods.
Wrong hanging indentation before block (add 4 spaces). Open
term: str,
- Read upRead up
- Exclude checks
TODO term: str, ^ |
Wrong hanging indentation before block (add 4 spaces). Open
language_arg: Union[str, int] = 0,
- Read upRead up
- Exclude checks
TODO language_arg: Union[str, int] = 0, ^ |
Too many local variables (28/15) Open
def _phonetic(
- 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
max_length: int = 4,
- Read upRead up
- Exclude checks
TODO max_length: int = 4, ^ |
Wrong hanging indentation before block (add 4 spaces). Open
'arens',
- Read upRead up
- Exclude checks
TODO 'arens', ^ |
Wrong hanging indentation before block (add 4 spaces). Open
and word[-2] == 'k'
- Read upRead up
- Exclude checks
TODO and word[-2] == 'k' ^ |
Too many branches (18/12) Open
def stem(self, word: str) -> str:
- Read upRead up
- Exclude checks
Used when a function or method has too many branches, making it hard to follow.