Skip to content

Commit

Permalink
exclude get_dev_version from coverage
Browse files Browse the repository at this point in the history
this requires a full git history, which we don't have in standardized CI.
  • Loading branch information
mhils committed Jan 15, 2023
1 parent 5b25811 commit 0550275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdoc/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def get_dev_version() -> str:

here = Path(__file__).parent

try:
try: # pragma: no cover
# Check that we're in the pdoc repository:
# 60665024af9af2cda4229e91b4d15f2359a4a3dd is the first pdoc commit.
subprocess.run(
Expand Down

0 comments on commit 0550275

Please sign in to comment.