mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-14 12:13:57 +00:00
f27be7ada8
based on https://mypy-lang.blogspot.com/2022/11/mypy-0990-released.html release
58 lines
1.0 KiB
TOML
58 lines
1.0 KiB
TOML
[tool.black]
|
|
line-length = 100
|
|
exclude = '''
|
|
(
|
|
/(
|
|
\.eggs # exclude a few common directories in the
|
|
| \.git # root of the project
|
|
| \.hg
|
|
| \.mypy_cache
|
|
| \.tox
|
|
| \.venv
|
|
| _build
|
|
| buck-out
|
|
| build
|
|
| dist
|
|
)/
|
|
# Exclude vendor directory
|
|
| vendor
|
|
)
|
|
'''
|
|
|
|
[tool.isort]
|
|
line_length = 100
|
|
multi_line_output=0
|
|
lines_after_imports=2
|
|
skip_glob = ["**/.env*", "**/env/*", "**/.venv/*", "**/docs/*", "**/user_data/*"]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
|
|
[tool.mypy]
|
|
ignore_missing_imports = true
|
|
namespace_packages = false
|
|
implicit_optional = true
|
|
warn_unused_ignores = true
|
|
exclude = [
|
|
'^build_helpers\.py$'
|
|
]
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = "tests.*"
|
|
ignore_errors = true
|
|
|
|
[build-system]
|
|
requires = ["setuptools >= 46.4.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.pyright]
|
|
include = ["freqtrade"]
|
|
exclude = [
|
|
"**/__pycache__",
|
|
"build_helpers/*.py",
|
|
]
|
|
ignore = ["freqtrade/vendor/**"]
|
|
|
|
# Align pyright to mypy config
|
|
strictParameterNoneValue = false
|