Skip to content

Commit bc44069

Browse files
committed
Lint
1 parent 0fd9490 commit bc44069

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

validate-user-ids.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ def main():
5959
token = os.environ.get("GH_TOKEN")
6060
if not token:
6161
print("Error: GH_TOKEN environment variable is not set.", file=sys.stderr)
62-
print(" Generate a token with no added roles/permissions.", file=sys.stderr)
62+
print(
63+
" Generate a token with no added roles/permissions.", file=sys.stderr
64+
)
6365
sys.exit(1)
6466

6567
cache_file = ".user-id-cache.json"
@@ -119,7 +121,10 @@ def main():
119121
print("Successfully updated user-ids.yaml")
120122
else:
121123
if missing_members or extra_members:
122-
print("\nRun validate-user-ids.py --sync locally to update user-ids.yaml.", file=sys.stderr)
124+
print(
125+
"\nRun validate-user-ids.py --sync locally to update user-ids.yaml.",
126+
file=sys.stderr,
127+
)
123128
sys.exit(1)
124129
print("Validation successful. No user IDs changed.")
125130

0 commit comments

Comments
 (0)