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

@ -71,11 +71,11 @@ class Analytics:
logfile = None logfile = None
def __init__( def __init__(
self, self,
logfile=None, logfile=None,
permanently_disable=False, permanently_disable=False,
posthog_host=None, posthog_host=None,
posthog_project_api_key=None posthog_project_api_key=None,
): ):
self.logfile = logfile self.logfile = logfile
self.get_or_create_uuid() self.get_or_create_uuid()

View file

@ -590,7 +590,7 @@ def get_parser(default_config_files, git_root):
group.add_argument( group.add_argument(
"--analytics-posthog-project-api-key", "--analytics-posthog-project-api-key",
metavar="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, logfile=args.analytics_log,
permanently_disable=args.analytics_disable, permanently_disable=args.analytics_disable,
posthog_host=args.analytics_posthog_host, 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 args.analytics is not False:
if analytics.need_to_ask(args.analytics): if analytics.need_to_ask(args.analytics):