Showing 4,191 of 4,191 total issues
Wrong hanging indentation before block (add 4 spaces). Open
and _string_at((current - 1), 3, {'ACH'})
- Read upRead up
- Exclude checks
TODO and stringat((current - 1), 3, {'ACH'}) ^ |
Wrong hanging indentation before block (add 4 spaces). Open
(current == 1) and _get_at(current - 1) == 'A'
- Read upRead up
- Exclude checks
TODO (current == 1) and getat(current - 1) == 'A' ^ |
Wrong hanging indentation before block (add 4 spaces). Open
or (
- Read upRead up
- Exclude checks
TODO or ( ^ |
Wrong hanging indentation before block (add 4 spaces). Open
or (
- Read upRead up
- Exclude checks
TODO or ( ^ |
Wrong hanging indentation before block (add 4 spaces). Open
and not _slavo_germanic()
- Read upRead up
- Exclude checks
TODO and not slavogermanic() ^ |
Wrong hanging indentation before block (add 4 spaces). Open
and not _string_at(0, 6, {'DANGER', 'RANGER', 'MANGER'})
- Read upRead up
- Exclude checks
TODO and not stringat(0, 6, {'DANGER', 'RANGER', 'MANGER'}) ^ |
Wrong hanging indentation before block (add 4 spaces). Open
_is_vowel(current - 1)
- Read upRead up
- Exclude checks
TODO isvowel(current - 1) ^ |
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, ^ |
Unnecessary elif
after return
Open
if not pre:
- Read upRead up
- Exclude checks
Used in order to highlight an unnecessary block of code following an if containing a return statement. As such, it will warn when it encounters an else following a chain of ifs, all of them containing a return statement.
Wrong hanging indentation before block (add 4 spaces). Open
and word[i : i + 2] == 'SH'
- Read upRead up
- Exclude checks
TODO and word[i : i + 2] == 'SH' ^ |
Wrong hanging indentation before block (add 4 spaces). Open
{'A', 'H', 'K', 'L', 'O', 'Q', 'R', 'U', 'X'},
- Read upRead up
- Exclude checks
TODO {'A', 'H', 'K', 'L', 'O', 'Q', 'R', 'U', 'X'}, ^ |
Too many nested blocks (6/5) Open
if self._max_length > 0:
- Read upRead up
- Exclude checks
Used when a function or a method has too many nested blocks. This makes the code less understandable and maintainable.
Wrong hanging indentation before block (add 4 spaces). Open
(current == 1) and (_get_at(0) == 'M')
- Read upRead up
- Exclude checks
TODO (current == 1) and (getat(0) == 'M') ^ |
Wrong hanging indentation before block (add 4 spaces). Open
and _is_vowel(0)
- Read upRead up
- Exclude checks
TODO and isvowel(0) ^ |
Wrong hanging indentation before block (add 4 spaces). Open
and not _string_at((current - 1), 3, {'RGY', 'OGY'})
- Read upRead up
- Exclude checks
TODO and not stringat((current - 1), 3, {'RGY', 'OGY'}) ^ |
Wrong hanging indentation before block (add 4 spaces). Open
current, 4, {'SIAN'}
- Read upRead up
- Exclude checks
TODO current, 4, {'SIAN'} ^ |
Wrong hanging indentation before block (add 4 spaces). Open
2,
- Read upRead up
- Exclude checks
TODO 2, ^ |
Wrong hanging indentation before block (add 4 spaces). Open
((current == last) and _is_vowel(current - 1))
- Read upRead up
- Exclude checks
TODO ((current == last) and isvowel(current - 1)) ^ |
Unnecessary else
after return
Open
if pre or post:
- Read upRead up
- Exclude checks
Used in order to highlight an unnecessary block of code following an if containing a return statement. As such, it will warn when it encounters an else following a chain of ifs, all of them containing a return statement.
Wrong hanging indentation before block (add 4 spaces). Open
'I',
- Read upRead up
- Exclude checks
TODO 'I', ^ |