mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 20:35:00 +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},
|
params={"state": state, "per_page": 1},
|
||||||
)
|
)
|
||||||
response.raise_for_status()
|
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
|
total_pages = (total_count + per_page - 1) // per_page
|
||||||
|
|
||||||
with tqdm(total=total_pages, desc="Collecting issues", unit="page") as pbar:
|
with tqdm(total=total_pages, desc="Collecting issues", unit="page") as pbar:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue