mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-09 09:57:59 +00:00
57 lines
1.3 KiB
TOML
57 lines
1.3 KiB
TOML
[build-system]
|
|
requires = ["setuptools","wheel"]
|
|
build-backend = 'setuptools.build_meta'
|
|
|
|
|
|
[tool.pylint.main]
|
|
jobs = 0
|
|
persistent = true
|
|
load-plugins = [
|
|
"pylint.extensions.code_style",
|
|
"pylint.extensions.comparison_placement",
|
|
"pylint.extensions.confusing_elif",
|
|
"pylint.extensions.for_any_all",
|
|
"pylint.extensions.consider_ternary_expression",
|
|
"pylint.extensions.bad_builtin",
|
|
"pylint.extensions.dict_init_mutate",
|
|
"pylint.extensions.check_elif",
|
|
"pylint.extensions.empty_comment",
|
|
"pylint.extensions.private_import",
|
|
"pylint.extensions.redefined_variable_type",
|
|
"pylint.extensions.no_self_use",
|
|
"pylint.extensions.overlapping_exceptions",
|
|
"pylint.extensions.set_membership",
|
|
"pylint.extensions.typing"
|
|
]
|
|
|
|
|
|
[tool.pylint.design]
|
|
max-args = 10
|
|
max-attributes = 100
|
|
|
|
|
|
[tool.pylint.format]
|
|
indent-str = "\t"
|
|
indent-after-paren = 1
|
|
max-line-length = 100
|
|
single-line-if-stmt = true
|
|
|
|
|
|
[tool.pylint.messages_control]
|
|
disable = [
|
|
"fixme",
|
|
"broad-exception-caught",
|
|
"cyclic-import",
|
|
"global-statement",
|
|
"invalid-name",
|
|
"missing-module-docstring",
|
|
"too-few-public-methods",
|
|
"too-many-public-methods",
|
|
"too-many-return-statements",
|
|
"wrong-import-order",
|
|
"missing-function-docstring",
|
|
"missing-class-docstring",
|
|
"consider-using-namedtuple-or-dataclass",
|
|
"confusing-consecutive-elif"
|
|
]
|