Skip to content

Commit

Permalink
chore: add ruff and code coverage to pytest settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Strömer committed Jun 11, 2024
1 parent 394a868 commit c8442be
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ pathlib = "^1.0.0"
juliacall = "^0.9.20"
pandas = "^2.0.0"
juliapkg = "^0.1.13"
pytest-ruff = "^0.3.2"

[tool.poetry.group.dev.dependencies]
ruff = "^0.4.7"
Expand All @@ -63,4 +64,11 @@ extend-exclude = ["*.jl"]
target-version = "py311"

[tool.pytest.ini_options]
addopts = ["--import-mode=importlib"]
addopts = [
"--import-mode=importlib",
"--ruff",
"--ruff-format",
"--cov-report=term",
"--cov-report=xml:coverage.xml",
"--cov=iesopt",
]

0 comments on commit c8442be

Please sign in to comment.