Skip to content

Commit 7ff587c

Browse files
author
Andrew Brookins
committed
lint
1 parent ea2fc0f commit 7ff587c

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

.github/workflows/agent-memory-server.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,3 @@ jobs:
116116
#
117117
# This workflow uses PyPI Trusted Publishing (OIDC). Ensure the project is configured
118118
# on PyPI to trust this GitHub repository before releasing.
119-

scripts/tag_and_push_server.py

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,23 @@ def tag_exists(tag_name: str) -> bool:
8686

8787

8888
def main():
89-
parser = argparse.ArgumentParser(description="Tag and push agent-memory-server release")
89+
parser = argparse.ArgumentParser(
90+
description="Tag and push agent-memory-server release"
91+
)
9092
parser.add_argument(
91-
"--dry-run", action="store_true", help="Show what would be done without actually doing it"
93+
"--dry-run",
94+
action="store_true",
95+
help="Show what would be done without actually doing it",
9296
)
9397
parser.add_argument(
94-
"--force", action="store_true", help="Force tag creation even if tag already exists"
98+
"--force",
99+
action="store_true",
100+
help="Force tag creation even if tag already exists",
95101
)
96102
parser.add_argument(
97-
"--test", action="store_true", help="Add '-test' suffix to tag for TestPyPI deployment"
103+
"--test",
104+
action="store_true",
105+
help="Add '-test' suffix to tag for TestPyPI deployment",
98106
)
99107

100108
args = parser.parse_args()
@@ -133,7 +141,9 @@ def main():
133141
print(f"Tag {tag_name} already exists, but --force specified")
134142
run_command(["git", "tag", "-d", tag_name], args.dry_run)
135143
else:
136-
print(f"Error: Tag {tag_name} already exists. Use --force to overwrite.")
144+
print(
145+
f"Error: Tag {tag_name} already exists. Use --force to overwrite."
146+
)
137147
sys.exit(1)
138148

139149
# Create the tag
@@ -162,4 +172,3 @@ def main():
162172

163173
if __name__ == "__main__":
164174
main()
165-

0 commit comments

Comments
 (0)