Marc Rufer bio photo

Marc Rufer

Software engineer
@d-fens GmbH

Twitter Google+ LinkedIn Github Stackoverflow
RSS Feed

HOWTO Pylint Integration in IntelliJ 14

Marc Rufer 12 Jun 2015 IntelliJ IDEA JetBrains python Pylint

I was asked, if it’s possible to integrate pylint into JetBrains IntelliJ IDEA 14. After having a quick look at Google I found a blog post about the integration of pylint. The mentioned blog post references an older IntelliJ version and the author runs IntelliJ on Linux. Because I run IntelliJ 14 on Windows I decided to shortly describe the configuration for this combination here.

I presuppose that IntelliJ 14, python and pylint are installed and that the following path are added to the Windows PATH variable (Paths depend on the installation location)

  • C:\python27
  • C:\python27\Scripts


To integrate pylint into IntelliJ IDEA 14 open your IDEA and go to Settings (Ctrl + Alt + s)

  • Navigate to Tools > External Tools

    pylint integration screnshot 1

  • Add a new External Tool by clicking on +

    pylint integration screnshot 2

    In tool settings section you have to add the path to your pylint.exe file to the programm textfield. Referencing pylint.bat won’t work.

  • Add a new Output Filter

    pylint integration screnshot 3


Now as you are done you can execute pylint over the Tools menu pylint integration screnshot 4

The result of the pylint code analysis will then be printed to the run console in IntelliJ.


For more details and for Linux based configuration see here

comments powered by Disqus

Posts

HOWTO Access Azure File Share in PowerShell Script executed by a Scheduled Task BUG "Task Scheduler service is not available" Error, if specifying Network Connection Condition HOWTO Sync OneDrive on Server even if Windows User not logged in HOWTO Access Microsoft Access Database with PowerShell Get NetworkCredential from PSCredential splits Username into Username and Domain HOWTO Create LocalDB File (.mdf) manually in Visual Studio 2015 HOWTO Set Cookie Header on DefaultRequestHeaders of HttpClient HOWTO Set up PowerShell Remote Session Configuration HOWTO Analyze PowerShell Scripts with PSScriptAnalyzer HOWTO Sign PDF with SuisseID NoBrainer PUT/PATCH/MERGE with OData Service Client Apply Commit from one Repository to another GitHub Repository creation with PowerShell HOWTO Sign PowerShell Script with SuisseID Swissunihockey game schedule PDF generator HOWTO Maven Release on JetBrains TeamCity Limitations when running Activiti in H2 Embedded Mode HOWTO Pylint Integration in IntelliJ 14 HOWTO Install Windows 10 IoT Core on Raspberry PI 2 from a VM First steps with Dropwizard Allman code style for IntelliJ First steps with Flyway IntelliJ - Setup custom inspection profiles Configuration properties meta-data support in IntelliJ AMQP Integration with spring integration OCA Java SE 7 Programmer I Certification Guide Swissunihockey key matcher Swisscom SMS-API-Client Some hints concerning logging with Log4j IFTTT A brilliant service Run deltacloud on a VirtualBox-VM Project specific maven settings in IntelliJ AngularJS Javascript for beginners Liferay in Action