Skip to content

Commit

Permalink
fix: test coverage <100% when argcomplete is installed (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
neithere committed Sep 23, 2023
1 parent e0dc226 commit 03610b7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
Changelog
~~~~~~~~~

Version 0.29.4
--------------

Bugs fixed:

- Test coverage reported as <100% when argcomplete is installed (#187)

Versions 0.29.1 through 0.29.3
------------------------------

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi"

[project]
name = "argh"
version = "0.29.3"
version = "0.29.4"
description = "An unobtrusive argparse wrapper with natural syntax"
readme = "README.rst"
requires-python = ">=3.8"
Expand Down
2 changes: 1 addition & 1 deletion src/argh/completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def func(...):

try:
import argcomplete
except ImportError:
except ImportError: # pragma: no cover
argcomplete = None
else:
COMPLETION_ENABLED = True # pragma: no cover
Expand Down

0 comments on commit 03610b7

Please sign in to comment.