Skip to content

Commit

Permalink
Move coverage configuration to pyproject.toml
Browse files Browse the repository at this point in the history
Relocated the coverage settings from .coveragerc to pyproject.toml for
centralized project configuration. This simplifies project management and
removes the need for a separate .coveragerc file.
  • Loading branch information
douglatornell committed Jan 7, 2025
1 parent df52c17 commit 74ed955
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
8 changes: 0 additions & 8 deletions SalishSeaTools/.coveragerc

This file was deleted.

7 changes: 7 additions & 0 deletions SalishSeaTools/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,12 @@ dependencies = [
"Source Code" = "https://github.com/SalishSeaCast/tools/tree/main/SalishSeaTools"


[tool.coverage.run]
branch = true
source = ["salishsea_tools", "tests"]

[tool.coverage.report]
show_missing = true

[tool.setuptools.packages.find]
where = ["."]

0 comments on commit 74ed955

Please sign in to comment.