Skip to content

Commit

Permalink
attempt to omit coverage of benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
sfmig committed Apr 23, 2024
1 parent b4f76c7 commit 5c2ec2f
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,7 @@ zip-safe = false

[tool.setuptools.packages.find]
include = ["brainglobe_workflows"]
exclude = [
"tests",
"resources",
"benchmarks",
]
exclude = ["tests", "resources", "benchmarks"]

[tool.black]
target-version = ["py39", "py310"]
Expand All @@ -112,6 +108,11 @@ markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"serial",
]

[tool.coverage.run]
source = ["./*"]
omit = ["benchmarks/*"]

[tool.ruff]
line-length = 79
exclude = ["__init__.py", "build", ".eggs"]
Expand All @@ -137,6 +138,10 @@ python =
INPUT_COREDEV =
true: coredev
[coverage:run]
source = ./*
omit = benchmarks/*
[testenv]
extras =
dev
Expand Down

0 comments on commit 5c2ec2f

Please sign in to comment.