mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-14 12:13:57 +00:00
chore: enhanced pyright configuration
Some checks are pending
Build Documentation / Deploy Docs through mike (push) Waiting to run
Some checks are pending
Build Documentation / Deploy Docs through mike (push) Waiting to run
this should get rid of most errors in recent pylance versions by disabling them all.
This commit is contained in:
parent
3518a4167c
commit
60439c7d8e
|
@ -209,12 +209,38 @@ module = "tests.*"
|
||||||
ignore_errors = true
|
ignore_errors = true
|
||||||
|
|
||||||
[tool.pyright]
|
[tool.pyright]
|
||||||
include = ["freqtrade"]
|
include = ["freqtrade", "ft_client"]
|
||||||
exclude = [
|
exclude = [
|
||||||
"**/__pycache__",
|
"**/__pycache__",
|
||||||
"build_helpers/*.py",
|
"build_helpers/*.py",
|
||||||
|
"ft_client/build/*",
|
||||||
|
"build/*",
|
||||||
|
"tests/*",
|
||||||
]
|
]
|
||||||
ignore = ["freqtrade/vendor/**"]
|
ignore = ["freqtrade/vendor/**"]
|
||||||
|
pythonPlatform = "All"
|
||||||
|
pythonVersion = "3.9"
|
||||||
|
|
||||||
|
typeCheckingMode = "off"
|
||||||
|
# analyzeUnannotatedFunctions = false
|
||||||
|
|
||||||
|
reportArgumentType = false # 155
|
||||||
|
reportAssignmentType = false # 12
|
||||||
|
reportAttributeAccessIssue = false # 255
|
||||||
|
reportCallIssue = false # 23
|
||||||
|
reportGeneralTypeIssues = false # 48
|
||||||
|
reportIncompatibleMethodOverride = false # 15
|
||||||
|
reportIncompatibleVariableOverride = false # 5
|
||||||
|
reportIndexIssue = false # 22
|
||||||
|
reportMissingImports = false # 5
|
||||||
|
reportOperatorIssue = false # 7
|
||||||
|
reportOptionalMemberAccess = false # 35
|
||||||
|
reportOptionalOperand = false # 7
|
||||||
|
reportPossiblyUnboundVariable = false # 36
|
||||||
|
reportPrivateImportUsage = false # 5
|
||||||
|
reportRedeclaration = false # 1
|
||||||
|
reportReturnType = false # 28
|
||||||
|
reportTypedDictNotRequiredAccess = false # 27
|
||||||
|
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user