@@ -262,6 +262,27 @@ max-complexity = 12
262262[tool .ruff .lint .pep8-naming ]
263263staticmethod-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 ]
266287skip = ' poetry.lock,sources/*.c,sources/*.pyx,sources/*.pxd'
267288ignore-words-list = " coo,fo,strat,zar,selectin,nam,crate"
@@ -315,12 +336,6 @@ lines_after_imports = 2
315336skip_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 ]
325340ignore_missing_imports = true
326341namespace_packages = false
0 commit comments