Files
openide/python/pluginResources/inspectionDescriptions/PyPep8NamingInspection.html
Louis Vignier 1869ec9da6 [codeInspection] Fix python inspection descriptions
GitOrigin-RevId: 56876a5dd073a06c3fcc92f63ed1f5674830bc25
2023-04-28 13:13:25 +00:00

23 lines
548 B
HTML

<html>
<body>
<p>Reports violations of the
<a href="https://www.python.org/dev/peps/pep-0008/">PEP8</a> naming conventions.</p>
<p><b>Example:</b></p>
<pre><code>
class mammalia(object):
extremities = 4
def feeds(self):
print("milk")
</code></pre>
<p>In this code fragment, IDE offers to rename <code>mammalia</code> to <code>Mammalia</code>.
When the quick-fix is applied, the code change to:</p>
<pre><code>
class Mammalia(object):
extremities = 4
def feeds(self):
print("milk")
</code></pre>
</body>
</html>