Showing 4,191 of 4,191 total issues
Wrong hanging indentation before block (add 4 spaces). Open
and (src[i + matches] == rule[0])
- Read upRead up
- Exclude checks
TODO and (src[i + matches] == rule[0]) ^ |
Variable name ch
doesn't conform to snake_case naming style Open
for ch in {
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).
Too many branches (17/12) Open
def encode(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
'F',
- Read upRead up
- Exclude checks
TODO 'F', ^ |
Too many lines in module (1015/1000) Open
# Copyright 2014-2020 by Christopher C. Little.
- Read upRead up
- Exclude checks
Used when a module has too many lines, reducing its readability.
Too many boolean expressions in if statement (7/5) Open
(
- Read upRead up
- Exclude checks
Used when an if statement contains too many boolean expressions.
Wrong hanging indentation before block (add 4 spaces). Open
'Æ',
- Read upRead up
- Exclude checks
TODO 'Æ', ^ |
Wrong hanging indentation before block (add 4 spaces). Open
'É',
- Read upRead up
- Exclude checks
TODO 'É', ^ |
Wrong hanging indentation before block (add 4 spaces). Open
'Í',
- Read upRead up
- Exclude checks
TODO 'Í', ^ |
Wrong hanging indentation before block (add 4 spaces). Open
'Ò',
- Read upRead up
- Exclude checks
TODO 'Ò', ^ |
Wrong hanging indentation before block (add 4 spaces). Open
'Ö',
- Read upRead up
- Exclude checks
TODO 'Ö', ^ |
Wrong hanging indentation before block (add 4 spaces). Open
and (len(src) > (i + matches))
- Read upRead up
- Exclude checks
TODO and (len(src) > (i + matches)) ^ |
Wrong hanging indentation before block (add 4 spaces). Open
and not rule[0].isdigit()
- Read upRead up
- Exclude checks
TODO and not rule[0].isdigit() ^ |
Simplify chained comparison between the operands Open
if (end1 >= start2) and (start2 >= 0):
- Read upRead up
- Exclude checks
This message is emitted when pylint encounters boolean operation likea < b and b < c
, suggesting instead to refactor it to a < b < c
Unnecessary else
after continue
Open
if _string_at(
- Read upRead up
- Exclude checks
Used in order to highlight an unnecessary block of code following an if containing a continue statement. As such, it will warn when it encounters an else following a chain of ifs, all of them containing a continue statement.
Unnecessary elif
after continue
Open
if (
- Read upRead up
- Exclude checks
Used in order to highlight an unnecessary block of code following an if containing a continue statement. As such, it will warn when it encounters an else following a chain of ifs, all of them containing a continue statement.
Unnecessary elif
after continue
Open
if _get_at(current + 1) == 'H':
- Read upRead up
- Exclude checks
Used in order to highlight an unnecessary block of code following an if containing a continue statement. As such, it will warn when it encounters an else following a chain of ifs, all of them containing a continue statement.
Wrong hanging indentation before block (add 4 spaces). Open
'R',
- Read upRead up
- Exclude checks
TODO 'R', ^ |
Wrong hanging indentation before block (add 4 spaces). Open
'S',
- Read upRead up
- Exclude checks
TODO 'S', ^ |
Wrong hanging indentation before block (add 4 spaces). Open
'T',
- Read upRead up
- Exclude checks
TODO 'T', ^ |