1 Star 0 Fork 9

流涧水 / ClusterFuzz

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.pylintrc 3.58 KB
AI 代码解读
一键复制 编辑 原始数据 按行查看 历史
Oliver Chang 提交于 2019-01-30 09:55 . Initial commit.
[MESSAGES CONTROL]
# List of checkers and warnings to enable.
enable=
indexing-exception,
old-raise-syntax,
# List of checkers and warnings to disable.
# TODO: Shrink this list to as small as possible.
disable=
attribute-defined-outside-init,
bad-option-value,
bare-except,
broad-except,
c-extension-no-member,
design,
file-ignored,
fixme,
global-statement,
import-error,
locally-disabled,
misplaced-comparison-constant,
multiple-imports,
no-member,
no-name-in-module,
no-self-use,
relative-import,
similarities,
suppressed-message,
ungrouped-imports,
unsubscriptable-object,
useless-suppression,
wrong-import-order,
wrong-import-position,
[BASIC]
# Regular expression which should only match the name
# of functions or classes which do not require a docstring.
no-docstring-rgx=(__.*__|main)
# Min length in lines of a function that requires a docstring.
docstring-min-length=10
# Regular expression which should only match correct module names. The
# leading underscore is sanctioned for private modules by Google's style
# guide.
#
# There are exceptions to the basic rule (_?[a-z][a-z0-9_]*) to cover
# requirements of Python's module system and of the presubmit framework.
module-rgx=^(_?[a-z][a-z0-9_]*)|__init__|PRESUBMIT|PRESUBMIT_unittest$
# Regular expression which should only match correct module level names.
const-rgx=^(_?[A-Z][A-Z0-9_]*|__[a-z0-9_]+__|_?[a-z][a-z0-9_]*)$
# Regular expression which should only match correct class attribute.
class-attribute-rgx=^(_?[A-Z][A-Z0-9_]*|__[a-z0-9_]+__|_?[a-z][a-z0-9_]*)$
# Regular expression which should only match correct class names.
class-rgx=^_?[A-Z][a-zA-Z0-9]*$
# Regular expression which should only match correct function names.
# 'camel_case' and 'snake_case' group names are used for consistency of naming
# styles across functions and methods.
function-rgx=^(?:(?P<exempt>setUp|tearDown|setUpModule|tearDownModule)|(?P<camel_case>_?[A-Z][a-zA-Z0-9]*)|(?P<snake_case>_?[a-z][a-z0-9_]*))$
# Regular expression which should only match correct method names.
# 'camel_case' and 'snake_case' group names are used for consistency of naming
# styles across functions and methods. 'exempt' indicates a name which is
# consistent with all naming styles.
method-rgx=(?x)
^(?:(?P<exempt>_[a-z0-9_]+__|runTest|setUp|tearDown|setUpTestCase
|tearDownTestCase|setupSelf|tearDownClass|setUpClass
|(test|assert)_*[A-Z0-9][a-zA-Z0-9_]*|next)
|(?P<camel_case>_{0,2}[A-Z][a-zA-Z0-9_]*)
|(?P<snake_case>_{0,2}[a-z][a-z0-9_]*))$
# Regular expression which should only match correct instance attribute names.
attr-rgx=^_{0,2}[a-z][a-z0-9_]*$
# Regular expression which should only match correct argument names.
argument-rgx=^[a-z][a-z0-9_]*$
# Regular expression which should only match correct variable names.
variable-rgx=^[a-z][a-z0-9_]*$
# Regular expression which should only match correct list comprehension /
# generator expression variable names.
inlinevar-rgx=^[a-z][a-z0-9_]*$
# Good variable names which should always be accepted, separated by a comma.
good-names=main,_
# Bad variable names which should always be refused, separated by a comma.
bad-names=
# List of builtins function names that should not be used, separated by a comma.
bad-functions=input,apply,reduce
[FORMAT]
# Maximum number of characters on a single line.
max-line-length=80
# Maximum number of lines in a module
max-module-lines=99999
# String used as indentation unit. We differ from PEP8's normal 4 spaces.
indent-string=' '
# Make sure : in dicts and trailing commas are checked for whitespace.
no-space-check=
[TYPECHECK]
Python
1
https://gitee.com/leebing/ClusterFuzz.git
git@gitee.com:leebing/ClusterFuzz.git
leebing
ClusterFuzz
ClusterFuzz
master

搜索帮助