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.

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.

Unnecessary pass statement PYL-W0107
Style
Minor
Autofix

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

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.

Doc line too long FLK-W505
Style
Minor

Docstring line lengths are recommended to be no greater than 79 characters.

Continuation line with same indent as next logical line FLK-E125
Style
Minor

Continuation lines should not be indented at the same level as the next logical line. Instead, they should be indented to one more level so as to distinguish them from the next line.

Multiple spaces found after operator FLK-E222
Style
Minor

There should be only one space after an operator.

Multiple spaces before keyword FLK-E272
Style
Minor

There should be only one space before a keyword.

Indentation contains tabs FLK-W191
Style
Minor

Indentation has tabs when only spaces are expected. Change all tabs to spaces.

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.

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.

Trailing whitespace detected FLK-W291
Style
Minor

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