Skip to content

Commit dacb62e

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 608c860 commit dacb62e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sphinx_api_relink/linkcode.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def get_blob_url(github_repo: str) -> str:
135135

136136
@lru_cache(maxsize=1)
137137
def _get_commit_sha() -> str:
138-
result = subprocess.run( # noqa: S603
138+
result = subprocess.run(
139139
["git", "rev-parse", "HEAD"], # noqa: S607
140140
capture_output=True,
141141
check=True,
@@ -147,7 +147,7 @@ def _get_commit_sha() -> str:
147147

148148
def _get_latest_tag() -> str | None:
149149
try:
150-
result = subprocess.check_output( # noqa: S603
150+
result = subprocess.check_output(
151151
["git", "describe", "--tags", "--exact-match"], # noqa: S607
152152
stderr=subprocess.PIPE,
153153
universal_newlines=True,

0 commit comments

Comments
 (0)