Showing 4,191 of 4,191 total issues
Wrong hanging indentation before block (add 4 spaces). Open
and src[i + matches].isalpha()
- Read upRead up
- Exclude checks
TODO and src[i + matches].isalpha() ^ |
Wrong hanging indentation before block (add 4 spaces). Open
and (priority0 != ord('-'))
- Read upRead up
- Exclude checks
TODO and (priority0 != ord('-')) ^ |
Wrong hanging indentation before block (add 4 spaces). Open
'L',
- Read upRead up
- Exclude checks
TODO 'L', ^ |
Wrong hanging indentation before block (add 4 spaces). Open
'D',
- Read upRead up
- Exclude checks
TODO 'D', ^ |
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
or (
- Read upRead up
- Exclude checks
TODO or ( ^ |
Wrong hanging indentation before block (add 4 spaces). Open
cast(str, _phonet_rules[pos0])[0] == char0
- Read upRead up
- Exclude checks
TODO cast(str, phonetrules[pos0])[0] == char0 ^ |
Too many boolean expressions in if statement (12/5) Open
not rule
- Read upRead up
- Exclude checks
Used when an if statement contains too many boolean expressions.
Simplify chained comparison between the operands Open
if (end3 >= start4) and (start4 >= 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
Too many boolean expressions in if statement (6/5) Open
current > 1
- Read upRead up
- Exclude checks
Used when an if statement contains too many boolean expressions.
Too many boolean expressions in if statement (6/5) Open
(
- Read upRead up
- Exclude checks
Used when an if statement contains too many boolean expressions.
Unnecessary elif
after continue
Open
if _string_at(current, 4, {'TION'}):
- 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
and nxch in self._uc_c_set
- Read upRead up
- Exclude checks
TODO and nxch in self.ucc_set ^ |
Wrong hanging indentation before block (add 4 spaces). Open
'Œ',
- Read upRead up
- Exclude checks
TODO 'Œ', ^ |
Wrong hanging indentation before block (add 4 spaces). Open
cast(str, _phonet_rules[pos])[0] == char
- Read upRead up
- Exclude checks
TODO cast(str, phonetrules[pos])[0] == char ^ |
Wrong hanging indentation before block (add 4 spaces). Open
and (
- Read upRead up
- Exclude checks
TODO and ( ^ |
Consider using tuple unpacking for swapping variables Open
pos = start1
- Read upRead up
- Exclude checks
You do not have to use a temporary variable in order to swap variables. Using tuple unpacking
to directly swap variables makes the intention more clear.
Too many nested blocks (7/5) Open
while i < len(src):
- 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.