Loading gitlabci_local/cli/main.py +2 −1 Changes for gitlabci_local/cli/main.py: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -284,7 +284,8 @@ def main(): _environ = dict(environ) _environ[Bundle.ENV_WINPTY] = 'true' try: process = Popen([winpty] + argv if winpty else argv, env=_environ) with Popen([winpty] + argv if winpty else argv, env=_environ) as process: process.wait() exit(process.returncode) except OSError: # pragma: no cover Loading gitlabci_local/engines/podman.py +1 −1 Changes for gitlabci_local/engines/podman.py: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ class Podman: # Internal watcher def __watch(self, arguments): # Watch command outputs # Watch command outputs, pylint: disable=consider-using-with return iter(Popen([self.__binary] + arguments, stdout=PIPE).stdout.readline, b'') # Command exec Loading gitlabci_local/package/version.py +1 −1 Changes for gitlabci_local/package/version.py: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ class Version: # Acquire version try: name = __name__.split('.')[0] name = __name__.split('.', 1)[0] return require(name)[0].version # Default fallback Loading gitlabci_local/prints/boxes.py +2 −4 Changes for gitlabci_local/prints/boxes.py: 2 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -46,10 +46,8 @@ class Boxes: # Limit line length limit = columns - Boxes.__OFFSET_LINE - len( Boxes.__MIDDLE_LEFT) - 2 * Boxes.__PADDING_LINE - len(Boxes.__MIDDLE_RIGHT) if limit < 1: # pragma: no cover limit = 1 if length > limit: length = limit limit = max(limit, 1) length = min(length, limit) # Header print(' ') Loading gitlabci_local/types/files.py +1 −1 Changes for gitlabci_local/types/files.py: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -64,7 +64,7 @@ class Files: @staticmethod def temp(path=None, mode='wt', newline='\n', prefix='.tmp.'): # Create temporary file # Create temporary file, pylint: disable=consider-using-with temp_file = NamedTemporaryFile(delete=False, dir=path, mode=mode, newline=newline, prefix=prefix) Loading Loading
gitlabci_local/cli/main.py +2 −1 Changes for gitlabci_local/cli/main.py: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -284,7 +284,8 @@ def main(): _environ = dict(environ) _environ[Bundle.ENV_WINPTY] = 'true' try: process = Popen([winpty] + argv if winpty else argv, env=_environ) with Popen([winpty] + argv if winpty else argv, env=_environ) as process: process.wait() exit(process.returncode) except OSError: # pragma: no cover Loading
gitlabci_local/engines/podman.py +1 −1 Changes for gitlabci_local/engines/podman.py: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ class Podman: # Internal watcher def __watch(self, arguments): # Watch command outputs # Watch command outputs, pylint: disable=consider-using-with return iter(Popen([self.__binary] + arguments, stdout=PIPE).stdout.readline, b'') # Command exec Loading
gitlabci_local/package/version.py +1 −1 Changes for gitlabci_local/package/version.py: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ class Version: # Acquire version try: name = __name__.split('.')[0] name = __name__.split('.', 1)[0] return require(name)[0].version # Default fallback Loading
gitlabci_local/prints/boxes.py +2 −4 Changes for gitlabci_local/prints/boxes.py: 2 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -46,10 +46,8 @@ class Boxes: # Limit line length limit = columns - Boxes.__OFFSET_LINE - len( Boxes.__MIDDLE_LEFT) - 2 * Boxes.__PADDING_LINE - len(Boxes.__MIDDLE_RIGHT) if limit < 1: # pragma: no cover limit = 1 if length > limit: length = limit limit = max(limit, 1) length = min(length, limit) # Header print(' ') Loading
gitlabci_local/types/files.py +1 −1 Changes for gitlabci_local/types/files.py: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -64,7 +64,7 @@ class Files: @staticmethod def temp(path=None, mode='wt', newline='\n', prefix='.tmp.'): # Create temporary file # Create temporary file, pylint: disable=consider-using-with temp_file = NamedTemporaryFile(delete=False, dir=path, mode=mode, newline=newline, prefix=prefix) Loading