Top "Pep8" questions

Coding conventions and style guidelines for Python.

How to integrate pep8.py in Eclipse?

A little background: PEP 8 is the Style Guide for Python Code. It contains the conventions all python programmers should follow. …

python eclipse pydev pep8
Python PEP8: Blank lines convention

I am interested in knowing what is the Python convention for newlines between the program parts? For example, consider this: …

python pep8
Is there a recommended format for multi-line imports?

I have read there are three ways for coding multi-line imports in python With slashes: from Tkinter import Tk, Frame, …

python python-2.7 pep8
Does PEP 8 require whitespace around operators in function arguments?

I have this code: some_list = range(a, b+1) After checking my coding style with pep8 plugin for vim, I …

python coding-style pep8
Pycharm's code style inspection: ignore/switch off specific rules

I'm trying to import existing project into PyCharm. I can refactor the code so that PyCharm will be pleased, but …

python ide pycharm pep8
What is the naming convention for Python class references

What is the naming convention for a variable referencing a class in Python? class MyClass(object): pass # which one is …

python naming-conventions pep8
Why does PyCharm use 120 Character Lines even though PEP8 Specifies 79?

PEP8 clearly specifies 79 characters, however, PyCharm defaults to 120 and gives me the warning "PEP8: line too long (... > 120 characters)". Did …

python pycharm pep8
How do I enable auto code formatting for flake8 in PyCharm

I use Tox to run unit tests, with a flake8 command that checks for code formatting errors. Each time I …

python plugins pycharm pep8 flake8
Visual studio code suppress pep8 warnings

How can I suppress pep8 warnings, in Visual studio code? What I want to do is to suppress E501 warning …

visual-studio-code pep8
How to disable special naming convention inspection of PEP 8 in PyCharm

I installed PyCharm and enabled pep8 checks in Inspections. If I write: def func(argOne): print(argOne) The IDE shows …

python pycharm pep8 jetbrains-ide