Yoichi's diary


2015-03-17

_ [python] Re: flake8

編集中にflymakeが走ってエラーダイアログが出て気づいたが、書きかけで

import

とだけ書いた行があるとエラーになるな。

Process Process-1:
Traceback (most recent call last):
  File "/usr/local/Cellar/python3/3.3.5/Frameworks/Python.framework/Versions/3.3/lib/python3.3/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/usr/local/Cellar/python3/3.3.5/Frameworks/Python.framework/Versions/3.3/lib/python3.3/multiprocessing/process.py", line 95, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.3/site-packages/flake8/reporter.py", line 73, in process_main
    self._process_main()
  File "/usr/local/lib/python3.3/site-packages/flake8/reporter.py", line 49, in _process_main
    self.input_file(filename)
  File "/usr/local/lib/python3.3/site-packages/flake8/engine.py", line 99, in input_file

時間あるときに詳細みてみよう。 使っているバージョンは

% flake8 --version
2.2.4 (pep8: 1.5.7, pyflakes: 0.8.1, hacking.core: 0.0.1, ProxyChecker: 0.0.1, mccabe: 0.2.1) CPython 3.3.5 on Darwin