得到pylint警告:“未找到配置文件,使用默认配置" [英] Getting pylint warning: "No config file found, using default configuration"
本文介绍了得到pylint警告:“未找到配置文件,使用默认配置"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
$ pylint --reports=n main.py
输出:
No config file found, using default configuration
推荐答案
如果您的主目录中没有.pylintrc
文件,或者未指定pylint参数--rcfile=/path/to/pylintrc
.
You will get the "No config file found, using default configuration
" warning if you do not have a .pylintrc
file in your home directory, or if you don't specify the pylint argument --rcfile=/path/to/pylintrc
.
要隐藏此消息,请在* nix上:
To suppress the message, on *nix:
$ touch ~/.pylintrc
这篇关于得到pylint警告:“未找到配置文件,使用默认配置"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文