From 906a3fe6deeb174b00fd5ac75ac5e77d8ca08cb4 Mon Sep 17 00:00:00 2001 From: iburakov Date: Sat, 26 Aug 2023 22:11:11 +0000 Subject: [PATCH] Move pytest config into pyproject.toml --- ml/synthesis/pyproject.toml | 8 +++++++- ml/synthesis/pytest.ini | 6 ------ 2 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 ml/synthesis/pytest.ini diff --git a/ml/synthesis/pyproject.toml b/ml/synthesis/pyproject.toml index 2cf62cb06..d277f2de9 100644 --- a/ml/synthesis/pyproject.toml +++ b/ml/synthesis/pyproject.toml @@ -34,6 +34,12 @@ pandas-stubs = "2.0.2.*" requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" +[tool.pytest.ini_options] +asyncio_mode = "auto" +log_cli = true +log_cli_level = "DEBUG" +testpaths = ["src/tests"] + [tool.black] line-length = 120 @@ -99,7 +105,7 @@ ignore = [ unfixable = [ "ERA001", # prohibit to "auto-fix" (=remove) commented-out code ] -src = ["ml/synthesis/src"] +src = ["src"] [tool.ruff.mccabe] max-complexity = 7 diff --git a/ml/synthesis/pytest.ini b/ml/synthesis/pytest.ini deleted file mode 100644 index b39e6be2d..000000000 --- a/ml/synthesis/pytest.ini +++ /dev/null @@ -1,6 +0,0 @@ -[pytest] -asyncio_mode = auto -log_cli = true -log_cli_level = DEBUG -testpaths = - src/tests