2021-05-27 12:00:13 +00:00
|
|
|
[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
|
2021-05-27 12:25:29 +00:00
|
|
|
multi_line_output=0
|
|
|
|
lines_after_imports=2
|
2022-04-29 09:54:54 +00:00
|
|
|
skip_glob = ["**/.env*", "**/env/*", "**/.venv/*", "**/docs/*", "**/user_data/*"]
|
2021-05-27 12:00:13 +00:00
|
|
|
|
2022-01-17 19:02:59 +00:00
|
|
|
[tool.pytest.ini_options]
|
|
|
|
asyncio_mode = "auto"
|
|
|
|
|
2022-05-07 09:30:45 +00:00
|
|
|
[tool.mypy]
|
|
|
|
ignore_missing_imports = true
|
|
|
|
warn_unused_ignores = true
|
|
|
|
exclude = [
|
|
|
|
'^build_helpers\.py$'
|
|
|
|
]
|
|
|
|
|
|
|
|
[[tool.mypy.overrides]]
|
|
|
|
module = "tests.*"
|
|
|
|
ignore_errors = true
|
|
|
|
|
2021-05-27 12:00:13 +00:00
|
|
|
[build-system]
|
|
|
|
requires = ["setuptools >= 46.4.0", "wheel"]
|
|
|
|
build-backend = "setuptools.build_meta"
|
2022-05-25 10:13:37 +00:00
|
|
|
|
|
|
|
[tool.pyright]
|
|
|
|
include = ["freqtrade"]
|
|
|
|
exclude = [
|
|
|
|
"**/__pycache__",
|
|
|
|
"build_helpers/*.py",
|
|
|
|
]
|
|
|
|
ignore = ["freqtrade/vendor/**"]
|
2022-05-25 18:43:43 +00:00
|
|
|
|
|
|
|
# Align pyright to mypy config
|
|
|
|
strictParameterNoneValue = false
|