mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
aider: Shortened the docstring in aider/repo.py
to comply with the 100 characters line length limit.
# Aider chat conversation: USER: I ran this command: pre-commit run --files aider/repo.py And got this output: isort....................................................................Passed black....................................................................Passed flake8...................................................................Failed - hook id: flake8 - exit code: 1 aider/repo.py:247:101: E501 line too long (111 > 100 characters) """ Returns a list of all files which are dirty (not committed), either staged or in the working directory. """ ^ ASSISTANT: Please add the file `aider/repo.py` to the chat so I can make the necessary changes. USER: I added these files to the chat: aider/repo.py ASSISTANT: To fix the flake8 error, we need to shorten the docstring to comply with the line length limit of 100 characters. Here is the *SEARCH/REPLACE* block: aider/repo.py ```python <<<<<<< SEARCH """ Returns a list of all files which are dirty (not committed), either staged or in the working directory. """ ======= """ Returns a list of all files which are dirty (not committed), either staged or in the working directory. """ >>>>>>> REPLACE ```
This commit is contained in:
parent
abbe5416a1
commit
7b8e603249
1 changed files with 2 additions and 1 deletions
|
@ -244,7 +244,8 @@ class GitRepo:
|
|||
|
||||
def get_dirty_files(self):
|
||||
"""
|
||||
Returns a list of all files which are dirty (not committed), either staged or in the working directory.
|
||||
Returns a list of all files which are dirty (not committed), either staged or in the working
|
||||
directory.
|
||||
"""
|
||||
dirty_files = set()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue