加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.pylintrc 1.42 KB
一键复制 编辑 原始数据 按行查看 历史
Cole Robinson 提交于 2020-07-17 14:41 . Rename pylintrc -> .pylintrc
[MESSAGES CONTROL]
# Disable the message, report, category or checker with the given id(s). You
# can either give multiple identifier separated by comma (,) or put this option
# multiple time (only on the command line, not in the configuration file where
# it should appear only once).
disable=Design,Similarities,invalid-name,missing-docstring,line-too-long,too-many-lines,superfluous-parens,bad-whitespace,locally-disabled,no-self-use,unnecessary-lambda,star-args,fixme,global-statement,bare-except,anomalous-backslash-in-string,broad-except,cyclic-import,bad-continuation,locally-enabled,unidiomatic-typecheck,redefined-variable-type,bad-option-value,wrong-import-position,consider-using-ternary,no-else-return,len-as-condition,inconsistent-return-statements,useless-object-inheritance,consider-using-in,useless-return,assignment-from-none,chained-comparison,import-outside-toplevel
enable=fixme
[MASTER]
# Don't pickle any data for cross run comparison reports
persistent=no
[REPORTS]
reports=no
score=no
[FORMAT]
# Use 80 character line limit
max-line-length=80
[VARIABLES]
# This is the standard 'dummy' regex, with two 'ignore' variations added
dummy-variables-rgx=_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy|^ignored_|^unused_|ignore.*|.*_ignore
# This is the standard argument regex, with two 'ignore' variations added
ignored-argument-names=_.*|^ignored_|^unused_|ignore.*|.*_ignore
# gettext buitins
additional-builtins=_,ngettext
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化