Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit c4f198e

Browse files
committed
Lint
1 parent 2b99e77 commit c4f198e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

synapse/util/versionstring.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ def _run_git_command(prefix: str, *params: str) -> str:
6565
git_commit = _run_git_command("", "rev-parse", "--short", "HEAD")
6666

6767
dirty_string = "-this_is_a_dirty_checkout"
68-
is_dirty = _run_git_command("", "describe", "--dirty=" + dirty_string).endswith(
69-
dirty_string
70-
)
68+
is_dirty = _run_git_command(
69+
"", "describe", "--dirty=" + dirty_string
70+
).endswith(dirty_string)
7171
git_dirty = "dirty" if is_dirty else ""
7272

7373
if git_branch or git_tag or git_commit or git_dirty:

0 commit comments

Comments
 (0)