Showing 4,191 of 4,191 total issues
Wrong hanging indentation before block (add 4 spaces). Open
_is_vowel(current + 1) or _string_at(current, 2, {'WH'})
- Read upRead up
- Exclude checks
TODO isvowel(current + 1) or stringat(current, 2, {'WH'}) ^ |
Wrong hanging indentation before block (add 4 spaces). Open
and (
- Read upRead up
- Exclude checks
TODO and ( ^ |
Wrong hanging indentation before block (add 4 spaces). Open
post: Optional[Set[str]] = None,
- Read upRead up
- Exclude checks
TODO post: Optional[Set[str]] = None, ^ |
Wrong hanging indentation before block (add 4 spaces). Open
word[-2:] == 'EE'
- Read upRead up
- Exclude checks
TODO word[-2:] == 'EE' ^ |
Consider using enumerate instead of iterating with range and len Open
for i in range(len(word)):
- Read upRead up
- Exclude checks
Emitted when code that iterates with range and len is encountered. Such code can be simplified by using the enumerate builtin.
Wrong hanging indentation before block (add 4 spaces). Open
not right
- Read upRead up
- Exclude checks
TODO not right ^ |
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
and (
- Read upRead up
- Exclude checks
TODO and ( ^ |
Wrong hanging indentation before block (add 4 spaces). Open
# e.g., 'bough'
- Read upRead up
- Exclude checks
TODO # e.g., 'bough' ^ |
Wrong hanging indentation before block (add 4 spaces). Open
and _string_at((current - 2), 2, {'IE'})
- Read upRead up
- Exclude checks
TODO and stringat((current - 2), 2, {'IE'}) ^ |
Wrong hanging indentation before block (add 4 spaces). Open
and (_get_at(3) != 'W')
- Read upRead up
- Exclude checks
TODO and (getat(3) != 'W') ^ |
Wrong hanging indentation before block (add 4 spaces). Open
'Ä',
- Read upRead up
- Exclude checks
TODO 'Ä', ^ |
Too many statements (102/50) Open
def encode(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
'RC',
- Read upRead up
- Exclude checks
TODO 'RC', ^ |
Wrong hanging indentation before block (add 4 spaces). Open
# e.g., 'broughton'
- Read upRead up
- Exclude checks
TODO # e.g., 'broughton' ^ |
Wrong hanging indentation before block (add 4 spaces). Open
and _string_at((current + 1), 1, {'M', 'N', 'L', 'W'})
- Read upRead up
- Exclude checks
TODO and stringat((current + 1), 1, {'M', 'N', 'L', 'W'}) ^ |
Wrong hanging indentation before block (add 4 spaces). Open
word: str,
- Read upRead up
- Exclude checks
TODO word: str, ^ |
Wrong hanging indentation before block (add 4 spaces). Open
'Ä',
- Read upRead up
- Exclude checks
TODO 'Ä', ^ |
Wrong hanging indentation before block (add 4 spaces). Open
or (self._modified and word[-2:] == 'YE')
- Read upRead up
- Exclude checks
TODO or (self._modified and word[-2:] == 'YE') ^ |