Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
howtos:check_python_code [2014/07/29 08:37] – pylint format changed and some simple information sagarchalisehowtos:check_python_code [2014/10/25 14:13] – add pylint.bat for Windows enrico
Line 35: Line 35:
 </code> </code>
  
- + 
 ==== Setup Geany ==== ==== Setup Geany ====
  
Line 52: Line 53:
  
  
 +==== Using pylint on Windows ====
 +
 +Gösta Ljungdahl mentioned, the following little batch script is useful to use pylint on Windows with Geany:
 +
 +<code dos pylint.bat>
 +@echo off
 +set configfile=c:\cygwin64\home\gostal\.pylintrc
 +echo "======  pylint  ======"
 +c:\Anaconda\envs\python3\Scripts\pylint.exe --rcfile=%configfile% --msg-template="{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}" %1
 +</code>
 +
 +Of course, you need to tweak the paths to the config file and pylint.exe.
 +The rest should be similar to the explainations above.
  
  
Print/export