Skip to content

Commit

Permalink
Move pytest config into pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
iburakov committed Aug 26, 2023
1 parent d8ea8c3 commit 906a3fe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 7 additions & 1 deletion ml/synthesis/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down
6 changes: 0 additions & 6 deletions ml/synthesis/pytest.ini

This file was deleted.

0 comments on commit 906a3fe

Please sign in to comment.