style: Add trailing commas to improve formatting

This commit is contained in:
Paul Gauthier 2025-06-25 11:52:31 -07:00 committed by Paul Gauthier (aider)
parent 8fe52d7b0d
commit 320ee06cc3
3 changed files with 7 additions and 7 deletions

View file

@ -75,7 +75,7 @@ class Analytics:
logfile=None,
permanently_disable=False,
posthog_host=None,
posthog_project_api_key=None
posthog_project_api_key=None,
):
self.logfile = logfile
self.get_or_create_uuid()

View file

@ -590,7 +590,7 @@ def get_parser(default_config_files, git_root):
group.add_argument(
"--analytics-posthog-project-api-key",
metavar="ANALYTICS_POSTHOG_PROJECT_API_KEY",
help="Send analytics to custom PostHog project"
help="Send analytics to custom PostHog project",
)
#########

View file

@ -637,7 +637,7 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
logfile=args.analytics_log,
permanently_disable=args.analytics_disable,
posthog_host=args.analytics_posthog_host,
posthog_project_api_key=args.analytics_posthog_project_api_key
posthog_project_api_key=args.analytics_posthog_project_api_key,
)
if args.analytics is not False:
if analytics.need_to_ask(args.analytics):