Skip to content

Commit 07cfadf

Browse files
author
root
committed
trigger GHA
1 parent dfd1753 commit 07cfadf

File tree

1 file changed

+21
-6
lines changed

1 file changed

+21
-6
lines changed

pyproject.toml

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,27 @@ max-complexity = 12
262262
[tool.ruff.lint.pep8-naming]
263263
staticmethod-decorators = ["pydantic.validator", "pydantic.root_validator"]
264264

265+
[tool.pytest.ini_options]
266+
testpaths = ["tests"]
267+
python_files = ["test_*.py"]
268+
addopts = """
269+
-vv
270+
--tb=short
271+
--no-cov
272+
--strict-markers
273+
-W all
274+
-W ignore::UserWarning
275+
-W ignore::pytest.PytestUnknownMarkWarning
276+
-W ignore::pytest.PytestDeprecationWarning
277+
"""
278+
asyncio_mode = "auto"
279+
asyncio_default_fixture_loop_scope = "function"
280+
log_format = "%(asctime)s %(levelname)s %(message)s"
281+
log_date_format = "%Y-%m-%d %H:%M:%S"
282+
markers = [
283+
"lru_cache: marks tests that use lru_cache",
284+
]
285+
265286
[tool.codespell]
266287
skip = 'poetry.lock,sources/*.c,sources/*.pyx,sources/*.pxd'
267288
ignore-words-list = "coo,fo,strat,zar,selectin,nam,crate"
@@ -315,12 +336,6 @@ lines_after_imports = 2
315336
skip_glob = ["**/.env*", "**/env/*", "**/.venv/*", "**/docs/*"]
316337
# known_first_party = ["freqtrade_client"]
317338

318-
[tool.pytest.ini_options]
319-
log_format = "%(asctime)s %(levelname)s %(message)s"
320-
log_date_format = "%Y-%m-%d %H:%M:%S"
321-
322-
asyncio_mode = "auto"
323-
324339
[tool.mypy]
325340
ignore_missing_imports = true
326341
namespace_packages = false

0 commit comments

Comments
 (0)