Top "Pylint" questions

Pylint is a Python source code analyzer looking for bugs and signs of poor quality.

PyLint message: logging-format-interpolation

For the following code: logger.debug('message: {}'.format('test')) pylint produces the following warning: logging-format-interpolation (W1202): Use % formatting in …

python python-3.x pylint
Using Pylint with Django

I would very much like to integrate pylint into the build process for my python projects, but I have run …

python django static-analysis pylint
PyLint not recognizing cv2 members

I am running pylint on an opencv project and I am getting many pylint errors in VS code about members …

opencv visual-studio-code pylint
Method name doesn't conform to snake_case naming style

I’m creating a simple project with my pylintrc file and get this error for the test method: method name …

python pylint pylintrc
Why is the empty dictionary a dangerous default value in Python?

I put a dict as the default value for an optional argument to a Python function, and pylint (using Sublime …

python optional-parameters pylint optional-arguments
How to deal with Pylint's "too-many-instance-attributes" message?

I have just tried to lint some code with Pylint, and the last remaining error is R0902: too-many-instance-attributes (8/7) I understand …

python instance-variables pylint code-readability code-structure
Error message "python-pylint 'C0103:Invalid constant name"

I'm confused about the error(s) in this photo: I don't know how to fix them. My program is a …

python pylint
How to fix pylint logging-not-lazy?

I am using prospector to examine my code. Pylint returned a logging-not-lazy warning about my debug message. Line: 31 pylint: logging-not-lazy / …

python pylint
Why does it say that module pygame has no init member?

This is the code I have: import pygame pygame.init() I'm very confused because if I try to run the …

python visual-studio-code pygame pylint
Why does pylint object to single character variable names?

I'm still getting used to python conventions and using pylint to make my code more pythonic, but I'm puzzled by …

python pylint naming-conventions