mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
style: Fix linting issues in scripts/issues.py
This commit is contained in:
parent
26dcdcc1d2
commit
8cc747da3a
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ def get_issues(state="open"):
|
|||
params={"state": state, "per_page": 1},
|
||||
)
|
||||
response.raise_for_status()
|
||||
total_count = int(response.headers.get('Link', '').split('page=')[-1].split('>')[0])
|
||||
total_count = int(response.headers.get("Link", "").split("page=")[-1].split(">")[0])
|
||||
total_pages = (total_count + per_page - 1) // per_page
|
||||
|
||||
with tqdm(total=total_pages, desc="Collecting issues", unit="page") as pbar:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue