diff --git a/tools/hatch_build.py b/tools/hatch_build.py index 6c006c4a..0925d67d 100644 --- a/tools/hatch_build.py +++ b/tools/hatch_build.py @@ -25,7 +25,7 @@ import os import sys -from subprocess import run, PIPE, STDOUT +from subprocess import run, PIPE from hatchling.builders.hooks.plugin.interface import BuildHookInterface @@ -74,7 +74,7 @@ def is_git_repo(): def check_git_status(): p = run( - "git status --porcelain", shell=True, cwd=root_dir, stdout=PIPE, stderr=STDOUT + "git status --porcelain", shell=True, cwd=root_dir, stdout=PIPE, stderr=PIPE ) git_status = p.stdout.decode(errors="ignore") # print("Git status:\n" + git_status)