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

Pylint Rules : How To Solve Undefined Variable?

I get some message from pylint rules : from scrapy.spiders import Spider class MySpider(Spider): … Read more Pylint Rules : How To Solve Undefined Variable?

Check Python 3 Source With Pylint Running With Python 2

Some checks of Pylint are depending on whether the checked source code is of kind Python 2 or Pytho… Read more Check Python 3 Source With Pylint Running With Python 2

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

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?

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 Use Pyreverse In Eclipse?

I've installed Eclipse (latest stable) and integrated PyDev and PyLint succesfully. Now being a… Read more How Can I Use Pyreverse In Eclipse?

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 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

Automated Docstring And Comments Spell Check

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

Using Pylint To Display Error And Warnings

So I started using Pylint but since I am using tabs instead of spaces it is giving me as warnings, … Read more Using Pylint To Display Error And Warnings

Disable Specific Pylance Linting Messages In Vs Code Settings.json Like With "python.linting.pylintargs"

When Pylance was introduced, I filed a question on how to generally customize Pylance linting. Here… Read more Disable Specific Pylance Linting Messages In Vs Code Settings.json Like With "python.linting.pylintargs"