mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
style: Format code in badges.py for better readability
This commit is contained in:
parent
4ee9cee52a
commit
2993e285c8
1 changed files with 8 additions and 4 deletions
|
@ -360,10 +360,14 @@ def main():
|
|||
|
||||
# Determine whether to use BigQuery and get credentials path
|
||||
bigquery_env = os.environ.get("USE_BIGQUERY", "false")
|
||||
use_bigquery = args.use_bigquery or bigquery_env.lower() in (
|
||||
"true", "1", "yes"
|
||||
) or os.path.exists(bigquery_env)
|
||||
credentials_path = args.credentials_path or (bigquery_env if os.path.exists(bigquery_env) else None)
|
||||
use_bigquery = (
|
||||
args.use_bigquery
|
||||
or bigquery_env.lower() in ("true", "1", "yes")
|
||||
or os.path.exists(bigquery_env)
|
||||
)
|
||||
credentials_path = args.credentials_path or (
|
||||
bigquery_env if os.path.exists(bigquery_env) else None
|
||||
)
|
||||
|
||||
# Check for required parameters
|
||||
api_key = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue