mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-21 12:55:00 +00:00
style: Fix linting issues
This commit is contained in:
parent
a8226989c8
commit
c53cd336f9
1 changed files with 4 additions and 4 deletions
|
@ -882,11 +882,11 @@ def run_unit_tests(original_dname, testdir, history_fname, test_files):
|
||||||
|
|
||||||
# Remove @Disabled annotations from Java test files
|
# Remove @Disabled annotations from Java test files
|
||||||
for file_path in test_files:
|
for file_path in test_files:
|
||||||
if file_path.endswith('.java'):
|
if file_path.endswith(".java"):
|
||||||
test_file = testdir / file_path
|
test_file = testdir / file_path
|
||||||
if test_file.exists():
|
if test_file.exists():
|
||||||
content = test_file.read_text()
|
content = test_file.read_text()
|
||||||
content = re.sub(r'@Disabled\([^)]*\)\s*\n', '', content)
|
content = re.sub(r"@Disabled\([^)]*\)\s*\n", "", content)
|
||||||
test_file.write_text(content)
|
test_file.write_text(content)
|
||||||
|
|
||||||
# Map of file extensions to test commands
|
# Map of file extensions to test commands
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue