安装:
pip install flake8
如果报错,试试:
pip install --ignore-installed flake8
运行:
在Terminal环境,如pycharm自带的:
flake8 路径

如果检查整个文件夹:
flake8 文件夹名

在pycharm中集成为外部工具,并且实现点击跳转:
找到externaltools:

配置参数:

运行:

pip install flake8
如果报错,试试:
pip install --ignore-installed flake8
在Terminal环境,如pycharm自带的:
flake8 路径
flake8 文件夹名
本文标题:Flake8安装简介
本文链接:https://www.haomeiwen.com/subject/cvcklqtx.html
网友评论