drop: unused f-string
Mirror to Codeberg / mirror-to-codeberg (push) Waiting to run

This commit is contained in:
aclist committed 2026-11-17 02:13:56 +09:00
1 parent d47d7075e9
commit dfef2cfd75
1 file changed
+2 -4
+2 -4
View File
@@ -3,11 +3,9 @@ import subprocess
import sys
cmd = ["git", "ls-files", "--others", "--exclude-standard"]
result = subprocess.run(
cmd, capture_output=True, text=True
)
result = subprocess.run(cmd, capture_output=True, text=True)
untracked = [os.path.basename(line.rstrip()) for line in result.stdout.splitlines()]
if bool(untracked):
print(f"The following files are untracked. Add to .gitignore if this is intended.")
print("The following files are untracked. Add to .gitignore if this is intended.")
print("\n".join(untracked))
sys.exit(1)