代码拉取完成,页面将自动刷新
[tool.pylint.main]
jobs = 0 # Use one process for CPU.
load-plugins = [
"pylint.extensions.bad_builtin",
"pylint.extensions.check_elif",
"pylint.extensions.docparams",
"pylint.extensions.mccabe",
"pylint.extensions.overlapping_exceptions",
"pylint.extensions.redefined_variable_type",
]
# Fail if there are *any* messages from PyLint.
# The letters refer to PyLint's message categories, see
# https://pylint.pycqa.org/en/latest/messages/messages_introduction.html
fail-on = ["C", "E", "F", "I", "R", "W"]
[tool.pylint.messages_control]
ignore-paths=[
]
enable = [
"bad-inline-option",
"deprecated-pragma",
"useless-suppression",
"use-symbolic-message-instead",
"use-implicit-booleaness-not-comparison-to-zero",
"use-implicit-booleaness-not-comparison-to-string",
]
disable = [
# Docstrings are encouraged but we don't want to enforce that everything
# must have a docstring.
"missing-docstring",
# We don't always want to have to put a `:return:` in a docstring.
"missing-return-doc",
# We don't always want to have to put an `:rtype:` in a docstring.
"missing-return-type-doc",
# We don't want to have to document the type of every parameter with a
# `:type:` in the docstring.
"missing-type-doc",
# We use isort to sort and group our imports, so we don't need PyLint to
# check them for us.
"ungrouped-imports",
# We use Black to format our code automatically, so we don't need PyLint to
# check formatting for us.
"line-too-long",
# We use isort to sort out imports so we don't need PyLint to check import
# ordering for us.
"wrong-import-order",
"too-few-public-methods",
# Issues to disable this for false positives, disabling it globally in the meantime https://github.com/PyCQA/pylint/issues/214
"duplicate-code",
"missing-param-doc",
# Temporarily ignored during pep8 -> pylint transition. This should be removed later.
"fixme",
]
good-names = [
"i", "j", "k", "ex", "Run", "_", # PyLint's default good names.
"tm", "db", "ai",
]
[tool.pylint.reports]
output-format = "colorized"
score = "no"
[tool.hdev]
project_name = "h"
project_type = "application"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。