mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-21 12:55:00 +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
|
# Determine whether to use BigQuery and get credentials path
|
||||||
bigquery_env = os.environ.get("USE_BIGQUERY", "false")
|
bigquery_env = os.environ.get("USE_BIGQUERY", "false")
|
||||||
use_bigquery = args.use_bigquery or bigquery_env.lower() in (
|
use_bigquery = (
|
||||||
"true", "1", "yes"
|
args.use_bigquery
|
||||||
) or os.path.exists(bigquery_env)
|
or bigquery_env.lower() in ("true", "1", "yes")
|
||||||
credentials_path = args.credentials_path or (bigquery_env if os.path.exists(bigquery_env) else None)
|
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
|
# Check for required parameters
|
||||||
api_key = None
|
api_key = None
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue