PEP 8 naming convention violation
Reports violations of the PEP8 naming conventions.
Example:
class mammalia(object):
extremities = 4
def feeds(self):
print("milk")
In this code fragment, IDE offers to rename mammalia
to Mammalia
. When the quick-fix is applied, the code change to:
class Mammalia(object):
extremities = 4
def feeds(self):
print("milk")
Inspection options
Option | Type | Default |
---|---|---|
Ignore overridden functions | Checkbox | true |
HorizontalStack | None | |
Excluded base classes | StringList | [unittest.TestCase, unittest.case.TestCase] |
Ignored errors | StringList | [] |
Inspection Details | |
---|---|
Available in: | DataSpell 2023.3, PyCharm 2023.3 |
Plugin: | Python Community Edition, 233.SNAPSHOT |
Last modified: 13 July 2023