cli: drop no cover pragma

We don't really enforce 100% coverage anymore
This commit is contained in:
Jörg Thalheim
2023-07-28 16:13:25 +02:00
parent e219d38c7c
commit 270c3fc2e6
4 changed files with 11 additions and 12 deletions

View File

@@ -3,11 +3,12 @@ import argparse
import sys
from . import admin, ssh
from .errors import ClanError
has_argcomplete = True
try:
import argcomplete
except ImportError: # pragma: no cover
except ImportError:
has_argcomplete = False
@@ -37,5 +38,5 @@ def main() -> None:
sys.exit(1)
if __name__ == "__main__": # pragma: no cover
if __name__ == "__main__":
main()