Inspectopedia Help

Python

Name

Language

A byte literal contains a non-ASCII character  

Python

Accessing a protected member of a class or a module  

Python

An instance attribute is defined outside `__init__`  

Python

An invalid interpreter  

Python

Assigning function calls that don't return anything  

Python

Assignment can be replaced with augmented assignment  

Python

Assignments to 'for' loop or 'with' statement parameter  

Python

Attempt to call a non-callable object  

Python

Class has no `__init__` method  

Python

Class must implement all abstract methods  

Python

Class-specific decorator is used outside the class  

Python

Classic style class usage  

Python

Code is incompatible with specific Python versions  

Python

Cython variable is used before its declaration  

Cython

Depencencies in pyproject.toml  

Toml

Deprecated function, class, or module  

Python

Dictionary contains duplicate keys  

Python

Dictionary creation can be rewritten by dictionary literal  

Python

Errors in string formatting operations  

Python

Exceptions do not inherit from standard 'Exception' class  

Python

File contains non-ASCII character  

Python

First argument of the method is reassigned  

Python

Function call can be replaced with set literal  

Python

Global variable is not defined at the module level  

Python

Improper first parameter  

Python

Improper position of from __future__ import  

Python

Inappropriate access to properties  

Python

Incompatible signatures of __new__ and __init__  

Python

Incompatible stub packages  

Python

Inconsistent indentation  

Python

Incorrect BDD Behave-specific definitions  

Python

Incorrect CLI syntax  

Commandline

Incorrect arguments in @pytest.mark.parametrize  

Python

Incorrect arguments in step definition functions  

Python

Incorrect call arguments  

Python

Incorrect docstring  

Python

Incorrect property definition  

Python

Incorrect type  

Python

Invalid TypedDict definition and usages  

Python

Invalid definition and usage of Data Classes  

Python

Invalid definition of 'typing.NamedTuple'  

Python

Invalid protocol definitions and usages  

Python

Invalid type hints definitions and usages  

Python

Invalid usage of ClassVar variables  

Python

Invalid usages of classes with '__slots__' definitions  

Python

Invalid usages of final classes, methods, and variables  

Python

Method Series.to_list() is recommended  

Python

Method is not declared static  

Python

Method signature does not match signature of overridden method  

Python

Missed call to '__init__' of the super class  

Python

Missing `await` syntax in coroutine calls  

Python

Missing or empty docstring  

Python

Missing type hinting for function definition  

Python

No encoding specified for file  

Python

Non-optimal list declaration  

Python

Old-style class contains new-style class features  

Python

Overloads in regular Python files  

Python

PEP 8 coding style violation  

Python

PEP 8 naming convention violation  

Python

Poetry package versions  

Toml

Problematic nesting of decorators  

Python

Prohibited trailing semicolon in a statement  

Python

Redeclared names without usages  

Python

Redundant boolean variable check  

Python

Redundant parentheses  

Python

Shadowing built-in names  

Python

Shadowing names from outer scopes  

Python

Single quoted docstring  

Python

Statement has no effect  

Python

Stub packages advertiser  

Python

Suspicious relative imports  

Python

The default argument is mutable  

Python

The function argument is equal to the default parameter value  

Python

Too complex chained comparisons  

Python

Tuple assignment balance is incorrect  

Python

Tuple item assignment is prohibited  

Python

Type in docstring does not match inferred type  

Python

Unbound local variables  

Python

Unclear exception clauses  

Python

Unnecessary backslash  

Python

Unreachable code  

Python

Unresolved references  

Python

Unsatisfied package requirements  

Multiple

Unused local symbols  

Python

Using equality operators to compare with None  

Python

Wrong arguments to call super  

Python

Wrong order of 'except' clauses  

Python

__init__ method that returns a value  

Python

Last modified: 13 July 2023