[HOME]: [Mac OS X]: [MacPython]: [Emacs]: [生存報告記]: [MacEmacs JP Project]: [NTEmacs JP Project]:

Differences between revisions 8 and 9

Deletions are marked like this. Additions are marked like this.
Line 35: Line 35:
{{{
#!/bin/bash

epylint "$1" 2>/dev/null
pyflakes "$1"
pep8 --ignore=E221,E701,E202 --repeat "$1"
true
}}}

概要

公式サイト

関連サイト

インストール

pep8 等と同時チェック

pylama等を利用すると便利

pip install pylama
pip install pylama_pylint

高速化

https://github.com/justinvanwinkle/config-files/blob/master/bin/lintrunner.py

pip install -U cython
cython --embed lintrunner.py
gcc -O3 -c lintrunner.c -I${HOME}/local/include/python2.7
gcc -o lintrunner.exe lintrunner.o  -L${HOME}/local/lib -framework Python

emacs

#!/bin/bash

epylint "$1" 2>/dev/null
pyflakes "$1"
pep8 --ignore=E221,E701,E202 --repeat "$1"
true

設定

利用方法

参考サイト


CategoryPython

紹介マニアMoinMoin: PyLint (last edited 2016-02-13 11:15:34 by sakito)