Skip to content

Commit 3fb6bc8

Browse files
committed
chore: Mypy-exclusions to account for ta-lib import problem
1 parent 0228ec7 commit 3fb6bc8

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

freqtrade/templates/__init__.py

Whitespace-only changes.

pyproject.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,14 @@ plugins = [
206206
module = "tests.*"
207207
ignore_errors = true
208208

209+
[[tool.mypy.overrides]]
210+
module = [
211+
"freqtrade.templates.*",
212+
"tests.strategy.strats"
213+
]
214+
# Disable attr-defined check due to ta-lib not having type stubs
215+
disable_error_code = "attr-defined"
216+
209217
[tool.pyright]
210218
include = ["freqtrade", "ft_client"]
211219
exclude = [

tests/strategy/strats/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)