PEP8 checks

GPTKB entity

Statements (98)
Predicate Object
gptkbp:instanceOf code style guideline
gptkbp:checksFor indentation
line length
naming conventions
whitespace
trailing commas
unreachable code
unused imports
blank lines
unused variables
trailing whitespace
compound statements
assert statement formatting
bare except
blank lines between classes
blank lines between functions
break/continue formatting
class attribute order
class docstring
class naming
comment formatting
comparison to None
comparison to True/False
constant naming
decorator formatting
default argument values
docstring formatting
exception naming
extra spaces
file encoding
function argument formatting
function docstring
function naming
import aliasing
import formatting
import grouping
imports order
incorrect argument alignment
incorrect binary operator alignment
incorrect closing bracket position
incorrect comment alignment
incorrect continuation line indentation
incorrect decorator alignment
incorrect docstring alignment
incorrect hanging indent
incorrect indentation level
incorrect keyword argument alignment
incorrect opening bracket position
incorrect quotes
lambda assignment
line continuation
maximum line length
method naming
method order in class
missing docstrings
module docstring
module level dunder names
multiple imports per line
multiple statements per line
mutable default arguments
private method docstring
property method order
public method docstring
raise statement formatting
redundant else after break
redundant else after continue
redundant else after raise
redundant else after return
redundant parentheses
redundant pass statement
relative imports
return statement formatting
shadowing builtins
shadowing outer scope names
shebang line
space after # in comments
space before inline comment
spaces after commas
spaces around operators
spaces before colons
star imports
string quotes consistency
tabs vs spaces
try/except formatting
unused arguments
variable naming
wildcard imports
with statement formatting
yield statement formatting
gptkbp:definedIn gptkb:PEP_8
https://www.w3.org/2000/01/rdf-schema#label PEP8 checks
gptkbp:purpose enforce Python code style
gptkbp:relatedTo gptkb:Python
gptkbp:usedBy gptkb:flake8
gptkb:pylint
gptkb:pycodestyle
gptkbp:bfsParent gptkb:PyCharm
gptkbp:bfsLayer 7