Showing 4,191 of 4,191 total issues
Wrong hanging indentation before block (add 4 spaces). Open
'z',
- Read upRead up
- Exclude checks
TODO 'z', ^ |
Too many statements (169/50) Open
def stem(self, word: 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
'dd',
- Read upRead up
- Exclude checks
TODO 'dd', ^ |
Wrong hanging indentation before block (add 4 spaces). Open
'nn',
- Read upRead up
- Exclude checks
TODO 'nn', ^ |
Method could be a function Open
def _cond_bb(self, word: str, suffix_len: int) -> bool:
- Read upRead up
- Exclude checks
Used when a method doesn't use its bound instance, and so could be written as a function.
Wrong hanging indentation before block (add 4 spaces). Open
len(word[r1_start:]) >= 1
- Read upRead up
- Exclude checks
TODO len(word[r1_start:]) >= 1 ^ |
Wrong hanging indentation before block (add 4 spaces). Open
len(word) >= 4
- Read upRead up
- Exclude checks
TODO len(word) >= 4 ^ |
Wrong hanging indentation before block (add 4 spaces). Open
terminate: bool,
- Read upRead up
- Exclude checks
TODO terminate: bool, ^ |
Wrong hanging indentation before block (add 4 spaces). Open
len(word) > 2
- Read upRead up
- Exclude checks
TODO len(word) > 2 ^ |
Wrong hanging indentation before block (add 4 spaces). Open
'ize',
- Read upRead up
- Exclude checks
TODO 'ize', ^ |
Wrong hanging indentation before block (add 4 spaces). Open
len(word[r1_start:]) >= 1
- Read upRead up
- Exclude checks
TODO len(word[r1_start:]) >= 1 ^ |
Too many branches (114/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.
Wrong hanging indentation before block (add 4 spaces). Open
'andes',
- Read upRead up
- Exclude checks
TODO 'andes', ^ |
Method could be a function Open
def _cond_e(self, word: str, suffix_len: int) -> bool:
- Read upRead up
- Exclude checks
Used when a method doesn't use its bound instance, and so could be written as a function.
Method could be a function Open
def _cond_n(self, word: str, suffix_len: int) -> bool:
- Read upRead up
- Exclude checks
Used when a method doesn't use its bound instance, and so could be written as a function.
Wrong hanging indentation before block (add 4 spaces). Open
and word[-1] in {'d', 'k', 't'}
- Read upRead up
- Exclude checks
TODO and word[-1] in {'d', 'k', 't'} ^ |
Wrong hanging indentation before block (add 4 spaces). Open
word[-3] not in self._vowels and word[-5:-2] != 'gem'
- Read upRead up
- Exclude checks
TODO word[-3] not in self._vowels and word[-5:-2] != 'gem' ^ |
Wrong hanging indentation before block (add 4 spaces). Open
and word[-3] == word[-2]
- Read upRead up
- Exclude checks
TODO and word[-3] == word[-2] ^ |
Method could be a function Open
def _undouble(self, word: 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.
Too many branches (38/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.