mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 08:06:56 +07:00
23 lines
548 B
HTML
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> |