diff --git a/openapi_python_client/__init__.py b/openapi_python_client/__init__.py index 8819d01a1..181b2c60b 100644 --- a/openapi_python_client/__init__.py +++ b/openapi_python_client/__init__.py @@ -154,9 +154,7 @@ def _run_command(self, cmd: str) -> None: return try: dir = self.package_dir if self.meta == MetaType.NONE else self.project_dir - subprocess.run( - cmd, cwd=dir, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, check=True - ) + subprocess.run(cmd, cwd=dir, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, check=True) except CalledProcessError as err: self.errors.append( GeneratorError(