mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
style: fix linting issues in watch.py
This commit is contained in:
parent
981bd950da
commit
75d24974ec
1 changed files with 3 additions and 2 deletions
|
@ -10,7 +10,8 @@ from watchfiles import watch
|
|||
|
||||
from aider.dump import dump # noqa
|
||||
|
||||
#ai
|
||||
|
||||
# ai
|
||||
def is_source_file(path: Path) -> bool:
|
||||
"""
|
||||
Check if a file is a source file that uses # or // style comments.
|
||||
|
@ -48,7 +49,7 @@ def is_source_file(path: Path) -> bool:
|
|||
".hs", # Haskell
|
||||
".lua",
|
||||
".elm",
|
||||
".vhd", # VHDL
|
||||
".vhd", # VHDL
|
||||
".vhdl",
|
||||
}
|
||||
return path.suffix.lower() in COMMENT_STYLE_EXTENSIONS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue