Skip to content Skip to sidebar Skip to footer
Showing posts with the label Pylint

Pylint Not Recognizing Some Of The Standard Library

I'm using pylint + pydev, with python 2.6. I have a module with just this line of code from ema… Read more Pylint Not Recognizing Some Of The Standard Library

Where Are Detailed The Rules, Concepts And Usages Behind Each Pylint's Warnings?

I am still discovering Pylint and I understand why many Pythonists deactivate some (or many) warnin… Read more Where Are Detailed The Rules, Concepts And Usages Behind Each Pylint's Warnings?

How Can I Set The Python Max Allowed Line Length To 120 In Syntastic For Vim?

I'm using python-mode for Vim, I prefer for there to be 120 character lines rather than the sta… Read more How Can I Set The Python Max Allowed Line Length To 120 In Syntastic For Vim?

Python Static Code Analysis Tools - Code Analysis (preliminary Research Question)

Disclaimer: I've just started researching this area/domain of knowledge; so I have no idea what… Read more Python Static Code Analysis Tools - Code Analysis (preliminary Research Question)

How To Avoid Pylint Not-an-iterable When Using A Custom Property Class

My code uses the commonly used cached_property class from werkzeug. Consider the following snippet:… Read more How To Avoid Pylint Not-an-iterable When Using A Custom Property Class

Pylint Ignore Specific Names

I have a problem with pylint, i.e. sometimes it repeats the same message for some variable/class/mo… Read more Pylint Ignore Specific Names

Pylint Warning On 'except Exception:'

For a block like this: try: #some stuff except Exception: pass pylint raises warning W0703… Read more Pylint Warning On 'except Exception:'

Seek Python Warning For A Multiply Defined Function

Q: is there a way to get Python to give me a warning when there is more than one definition of the … Read more Seek Python Warning For A Multiply Defined Function

How To Define Pylance Linting Arguments In Vs Code (something Like "python.linting.pylanceargs")?

Until around 3 weeks ago, I'd been using pylint for linting my python-files in VS Code. Then, I… Read more How To Define Pylance Linting Arguments In Vs Code (something Like "python.linting.pylanceargs")?

Automated Docstring And Comments Spell Check

Consider the following sample code: # -*- coding: utf-8 -*- '''Test module.''&#… Read more Automated Docstring And Comments Spell Check

Pylint To Show Only Warnings And Errors

I would like to use pylint to check my code but I am only interested in error and warning levels. I… Read more Pylint To Show Only Warnings And Errors