We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 914fd54 commit 5d26033Copy full SHA for 5d26033
src/setuptools_scm/_file_finders/git.py
@@ -27,8 +27,9 @@ def _git_toplevel(path: str) -> str | None:
27
# CI environments you can easily end up in a cloned repo
28
# with incorrect permissions and we don't want to silently
29
# ignore files.
30
- if ("--add safe.directory" in res.stderr and
31
- not os.environ.get('SETUPTOOLS_SCM_IGNORE_DUBIOUS_OWNER')):
+ if "--add safe.directory" in res.stderr and not os.environ.get(
+ "SETUPTOOLS_SCM_IGNORE_DUBIOUS_OWNER"
32
+ ):
33
log.error(res.stderr)
34
raise SystemExit(
35
"git introspection failed: {}".format(res.stderr.split("\n")[0])
0 commit comments