mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
coverage: skip service lines
Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
@@ -7,3 +7,4 @@ exclude_lines =
|
||||
if __name__ == .__main__.:
|
||||
pass
|
||||
raise NotImplementedError
|
||||
# pragma: no cover
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@ def _fix_subparsers(subparsers):
|
||||
# More info at:
|
||||
# https://bugs.python.org/issue16308
|
||||
# https://github.com/iterative/dvc/issues/769
|
||||
if sys.version_info[0] == 3:
|
||||
if sys.version_info[0] == 3: # pragma: no cover
|
||||
subparsers.required = True
|
||||
subparsers.dest = 'cmd'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user