Inspectopedia 2026.3 Help

Code style issues

Dictionary initialization can be replaced with a literal  

Reports situations when you can rewrite dictionary creation by using a dictionary literal.

Function call can be replaced with set literal  

Reports calls to the set function that can be replaced with the set literal.

List initialization can be replaced with a literal  

Reports cases when a list declaration can be rewritten with a list literal.

PEP 8 coding style violation  

Reports violations of the PEP 8 coding style guide by running the bundled pycodestyle.py tool.

PEP 8 naming convention violation  

.

Redundant backslash  

Reports backslashes in places where line continuation is implicit inside (), [], and {}.

Redundant parentheses  

Reports about redundant parentheses in expressions.

Redundant semicolon  

Reports trailing semicolons in statements.

The function argument is equal to the default parameter value  

Reports a problem when an argument passed to the function is equal to the default parameter value.

Too complex chained comparisons  

Reports chained comparisons that can be simplified.

Using equality operators to compare with None  

Reports comparisons with None.

Last modified: 20 November 2026