Python

Python

Made by DeepSource
Tab after comma detected FLK-E242
Style
Minor

There should be only one space after the , character.

Continuation line over-indented for hanging indent FLK-E126
Style
Minor

A continuation line is indented farther than it should be for a hanging indent.

Indentation is not a multiple of four in comments FLK-E114
Style
Minor

Comment indentation should be a multiple of four.

Unnecessary pass statement PYL-W0107
Style
Minor
Autofix

The pass statement used here is not necessary. You can safely remove this.

Visually indented line with same indent as next logical line FLK-E129
Style
Minor

A visual indented line has the same indentation as the next logical line. This can make it hard to read.

Multiple spaces after ',' FLK-E241
Style
Minor

There should be only one space after the , character.

Too many leading # for block comment FLK-E266
Style
Minor

There should be only one leading # for a block comment.

Closing bracket does not match indentation of opening bracket's line FLK-E123
Style
Minor

Closing brackets should match the same indentation level of the line that their opening bracket started on.

Missing whitespace around operator FLK-E225
Style
Minor

There should be one space before and after all operators.

No newline at end of file FLK-W292
Style
Minor
Autofix

It is recommended to put a newline at the end of the file.

Unexpected indentation in comments FLK-E116
Style
Minor

Comments should be indented relative to the code in the block they are in.

Do not define functions named 'l', 'O', or 'I' FLK-E743
Style
Major

Functions named I, O, and l can be very hard to read. This is because the letter I and the letter l are easily confused, and the letter O and the number 0 can be easily confused. Change the names of these functions to something more descriptive.

Multiple statements detected on one line FLK-E701
Style
Major

Multiple statements should be on their own separate lines. This improves readability.

Missing whitespace after keyword FLK-E275
Style
Minor

There should be one space after keywords.

Inline comment should start with # FLK-E262
Style
Minor

Inline comments should have one space before the pound sign # and the comment itself.

Missing whitespace around bitwise or shift operator FLK-E227
Style
Minor

There should be one space before and after bitwise and shift operators (<<, >>, &, |, ^).

Trailing whitespace detected FLK-W291
Style
Minor

There should be no whitespace after the final character in a line.

Tab found after operator FLK-E224
Style
Minor

There should be only one space before or after operators.

Tab before keyword detected FLK-E274
Style
Minor

There should be only one space before a keyword.

Expected 1 blank line FLK-E301
Style
Minor

One blank line is expected between the methods of a class.