Showing 4,191 of 4,191 total issues
Wrong hanging indentation before block (add 4 spaces). Open
Open
word: str,
- Read upRead up
- Exclude checks
TODO word: str, ^ |
Wrong hanging indentation before block (add 4 spaces). Open
Open
'ede',
- Read upRead up
- Exclude checks
TODO 'ede', ^ |
Wrong hanging indentation before block (add 4 spaces). Open
Open
and word[-3] in self._st_endings
- Read upRead up
- Exclude checks
TODO and word[-3] in self.stendings ^ |
Consider using enumerate instead of iterating with range and len Open
Open
for i in range(0, 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
Open
force: bool = False,
- Read upRead up
- Exclude checks
TODO force: bool = False, ^ |
Wrong hanging indentation before block (add 4 spaces). Open
Open
i : i + pattern_length
- Read upRead up
- Exclude checks
TODO i : i + pattern_length ^ |
Wrong hanging indentation before block (add 4 spaces). Open
Open
name_mode: str = 'gen',
- Read upRead up
- Exclude checks
TODO name_mode: str = 'gen', ^ |
Wrong hanging indentation before block (add 4 spaces). Open
Open
concat: bool = False,
- Read upRead up
- Exclude checks
TODO concat: bool = False, ^ |
Wrong hanging indentation before block (add 4 spaces). Open
Open
filter_langs: bool = False,
- Read upRead up
- Exclude checks
TODO filter_langs: bool = False, ^ |
Wrong hanging indentation before block (add 4 spaces). Open
Open
var: str = 'American',
- Read upRead up
- Exclude checks
TODO var: str = 'American', ^ |
Wrong hanging indentation before block (add 4 spaces). Open
Open
tar: str,
- Read upRead up
- Exclude checks
TODO tar: str, ^ |
Wrong hanging indentation before block (add 4 spaces). Open
Open
'orna',
- Read upRead up
- Exclude checks
TODO 'orna', ^ |
Wrong hanging indentation before block (add 4 spaces). Open
Open
word[-1] == 'e'
- Read upRead up
- Exclude checks
TODO word[-1] == 'e' ^ |
Wrong hanging indentation before block (add 4 spaces). Open
Open
'ast',
- Read upRead up
- Exclude checks
TODO 'ast', ^ |
Wrong hanging indentation before block (add 4 spaces). Open
Open
'arna',
- Read upRead up
- Exclude checks
TODO 'arna', ^ |
Wrong hanging indentation before block (add 4 spaces). Open
Open
word[-2:] == 'ig'
- Read upRead up
- Exclude checks
TODO word[-2:] == 'ig' ^ |
Wrong hanging indentation before block (add 4 spaces). Open
Open
'erna',
- Read upRead up
- Exclude checks
TODO 'erna', ^ |
Too many branches (32/12) Open
Open
def encode(self, lname: 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
Open
language_arg: int,
- Read upRead up
- Exclude checks
TODO language_arg: int, ^ |
Too many branches (14/12) Open
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.