Pylint 适用于某些文件,但不适用于其他文件
Pylint works with some files, but not others
我在 OS X 上遇到了 pylint 的一些问题。不过,首先要介绍一下我的设置背景:
- Python2.x 和 Python3.x 都是通过 homebrew 安装的
- 通过
pip3 install pylint
安装的 Pylint
所以当我 运行 pylint pythonfile.py
我得到 this output
所以我卡住了,我不知道该去哪里。
您似乎在使用 Python 3.5?最新的 Pylint 还不能与 Python 3.5 一起使用,但是支持 Python 3.5 的更新版本将很快发布。
我在 OS X 上遇到了 pylint 的一些问题。不过,首先要介绍一下我的设置背景:
- Python2.x 和 Python3.x 都是通过 homebrew 安装的
- 通过
pip3 install pylint
安装的 Pylint
所以当我 运行 pylint pythonfile.py
我得到 this output
所以我卡住了,我不知道该去哪里。
您似乎在使用 Python 3.5?最新的 Pylint 还不能与 Python 3.5 一起使用,但是支持 Python 3.5 的更新版本将很快发布。