Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
howtos:check_python_code [2014/10/25 14:13] – add pylint.bat for Windows enricohowtos:check_python_code [2018/02/19 22:36] – s/pep8/pycodestyle/ enrico
Line 4: Line 4:
  
  
-===== Using pep8 and pylint =====+===== Using pycodestyle and pylint =====
  
-The following steps enable you to check your code with Pylint, Pyflakes and Pep8.+The following steps enable you to check your code with Pylint, Pyflakes and Pycodestyle (formerly known as pep8).
  
  
Line 18: Line 18:
 #!/bin/sh #!/bin/sh
  
-echo "======  pep8  ======" +echo "======  pycodestyle  ======" 
-pep8 $1+pycodestyle $1
 echo "======  pyflakes  ======" echo "======  pyflakes  ======"
 pyflakes $1 pyflakes $1
Line 100: Line 100:
  
  
-{{tag>howto python pep8 pyflakes python flake8}}+{{tag>howto python pep8 pycodestyle pyflakes python flake8}}
  
Print/export