mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-26 22:45:00 +00:00
style: Add trailing commas to improve formatting
This commit is contained in:
parent
8fe52d7b0d
commit
320ee06cc3
3 changed files with 7 additions and 7 deletions
|
@ -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()
|
||||||
|
|
|
@ -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",
|
||||||
)
|
)
|
||||||
|
|
||||||
#########
|
#########
|
||||||
|
|
|
@ -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):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue