Skip to content

Commit 05ffc2d

Browse files
committed
chore: migrate pytest ini_options to pytest section
1 parent ec1aee1 commit 05ffc2d

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,14 +152,13 @@ namespaces = true
152152
[tool.setuptools.dynamic]
153153
version = {attr = "freqtrade.__version__"}
154154

155-
[tool.pytest.ini_options]
156-
# TODO: should be migrated to [tool.pytest] as support for this was added in 9.0
155+
[tool.pytest]
157156
log_format = "%(asctime)s %(levelname)s %(message)s"
158157
log_date_format = "%Y-%m-%d %H:%M:%S"
158+
addopts = ["--dist", "loadscope"]
159159

160160
asyncio_mode = "auto"
161161
asyncio_default_fixture_loop_scope = "function"
162-
addopts = "--dist loadscope"
163162

164163
[tool.mypy]
165164
ignore_missing_imports = true

0 commit comments

Comments
 (0)