Skip to content

Commit

Permalink
Conditionalize plugin tools coverage settings
Browse files Browse the repository at this point in the history
  • Loading branch information
LKajan committed Feb 16, 2024
1 parent 30c7ad6 commit d9db60e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions {{cookiecutter.project_directory}}/pyproject.toml.j2
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[tool.pytest.ini_options]
addopts = "-v"


{% if cookiecutter.use_qgis_plugin_tools|lower != "n" -%}
[tool.coverage.report]
omit = ["{{cookiecutter.plugin_package}}/qgis_plugin_tools/*"]


{% endif -%}
[tool.ruff]
target-version = "py38"

Expand Down

0 comments on commit d9db60e

Please sign in to comment.