mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 02:34:59 +00:00
style: format code with linter
This commit is contained in:
parent
b69d131810
commit
67d538a499
1 changed files with 6 additions and 6 deletions
|
@ -64,7 +64,7 @@ def fname_to_url(filepath):
|
|||
return ""
|
||||
|
||||
# Join the remaining parts
|
||||
url_path = '/'.join(relevant_parts)
|
||||
url_path = "/".join(relevant_parts)
|
||||
|
||||
# Handle index.md and other .md files
|
||||
if url_path.endswith(index):
|
||||
|
@ -73,7 +73,7 @@ def fname_to_url(filepath):
|
|||
url_path = url_path[: -len(md)] + ".html"
|
||||
|
||||
# Ensure the URL starts and ends with '/'
|
||||
url_path = url_path.strip('/')
|
||||
url_path = url_path.strip("/")
|
||||
|
||||
return f"https://aider.chat/{url_path}"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue