2024-02-26 12:54:08 +00:00
|
|
|
[tool.pylint.BASIC]
|
|
|
|
max-module-lines=2000
|
|
|
|
# due to SQL
|
|
|
|
max-line-length=200
|
|
|
|
# Drop/decrease them one day:
|
|
|
|
max-branches=50
|
|
|
|
max-nested-blocks=10
|
|
|
|
max-statements=200
|
|
|
|
|
2024-04-19 09:43:33 +00:00
|
|
|
[tool.isort]
|
|
|
|
profile = "black"
|
|
|
|
src_paths = ["src", "tests/ci", "tests/sqllogic"]
|
|
|
|
|
2024-02-26 12:54:08 +00:00
|
|
|
[tool.pylint.FORMAT]
|
|
|
|
#ignore-long-lines = (# )?<?https?://\S+>?$
|
|
|
|
|
|
|
|
[tool.pylint.'MESSAGES CONTROL']
|
|
|
|
# pytest.mark.parametrize is not callable (not-callable)
|
2024-02-29 01:21:39 +00:00
|
|
|
disable = '''
|
2024-07-11 07:24:25 +00:00
|
|
|
pointless-string-statement,
|
|
|
|
line-too-long,
|
2024-02-29 01:21:39 +00:00
|
|
|
missing-docstring,
|
2024-02-26 12:54:08 +00:00
|
|
|
too-few-public-methods,
|
|
|
|
invalid-name,
|
|
|
|
too-many-arguments,
|
|
|
|
keyword-arg-before-vararg,
|
|
|
|
too-many-locals,
|
|
|
|
too-many-instance-attributes,
|
|
|
|
cell-var-from-loop,
|
|
|
|
fixme,
|
|
|
|
too-many-public-methods,
|
|
|
|
wildcard-import,
|
|
|
|
unused-wildcard-import,
|
|
|
|
singleton-comparison,
|
|
|
|
not-callable,
|
|
|
|
redefined-outer-name,
|
|
|
|
broad-except,
|
|
|
|
bare-except,
|
|
|
|
no-else-return,
|
2024-07-11 11:37:26 +00:00
|
|
|
global-statement,
|
2024-07-12 18:32:01 +00:00
|
|
|
f-string-without-interpolation,
|
2024-02-26 12:54:08 +00:00
|
|
|
'''
|
|
|
|
|
|
|
|
[tool.pylint.SIMILARITIES]
|
|
|
|
# due to SQL
|
|
|
|
min-similarity-lines=1000
|