Commit graph

662 commits

Author SHA1 Message Date
Paul Gauthier (aider)
427a83b075 fix: Use call_args_list to verify all calls to mocked function 2024-08-23 15:17:16 -07:00
Paul Gauthier
100cca5dbf feat: Add model dumps to test_repo.py 2024-08-23 15:17:15 -07:00
Paul Gauthier (aider)
cc2706d8dd style: Fix import order in test_repomap.py 2024-08-23 11:43:14 -07:00
Paul Gauthier (aider)
6630fd2e4f fix: Add missing imports for re and difflib modules 2024-08-23 11:43:11 -07:00
Paul Gauthier (aider)
d373c82730 fix: Remove unused imports in tests/basic/test_repomap.py 2024-08-23 11:42:14 -07:00
Paul Gauthier (aider)
a223ddce8b fix: Remove unused imports and adjust code to use existing modules 2024-08-23 11:41:43 -07:00
Paul Gauthier (aider)
7015c03a01 style: Run linter on tests/basic/test_repomap.py 2024-08-23 11:40:43 -07:00
Paul Gauthier (aider)
e456317a68 chore: move import re and difflib to top of file 2024-08-23 11:40:40 -07:00
Paul Gauthier (aider)
26765cd89a style: Normalize path separators for Windows 2024-08-23 11:40:00 -07:00
Paul Gauthier (aider)
97a75ea471 fix: Normalize file path separators for Windows in test_repo_map_sample_code_base 2024-08-23 11:39:57 -07:00
Paul Gauthier (aider)
2d5b481205 fix: Read expected_map_file with utf8 encoding 2024-08-23 11:38:36 -07:00
Paul Gauthier
f5e27cee8a finish repo map fixture test 2024-08-23 10:16:16 -07:00
Paul Gauthier (aider)
c38d482db3 style: Format code with black 2024-08-23 10:14:04 -07:00
Paul Gauthier (aider)
626a89364d feat: Pass repomap_root as parent of parent of parent directory 2024-08-23 10:14:01 -07:00
Paul Gauthier
eb7870c2c1 fix: Convert generated repo map to string before comparison 2024-08-23 10:14:00 -07:00
Paul Gauthier (aider)
0ee35556ef style: Format code using linter 2024-08-23 10:04:32 -07:00
Paul Gauthier (aider)
9228a57b66 fix: Compare generated repo map with expected map 2024-08-23 10:04:28 -07:00
Paul Gauthier
12e406e711 fix: Remove unnecessary code for writing generated repo map to file 2024-08-23 10:04:27 -07:00
Paul Gauthier (aider)
f5d4cbfb2e fix: Add import for Path class in test_repomap.py 2024-08-23 10:02:54 -07:00
Paul Gauthier (aider)
0a01a5ca2f style: Run linter 2024-08-23 10:01:34 -07:00
Paul Gauthier (aider)
a59ebd1913 feat: add test for repo map generation using sample code base 2024-08-23 10:01:30 -07:00
Paul Gauthier (aider)
68a78e4882 fix: Use platform-independent path for read-only file test 2024-08-23 07:00:45 -07:00
Paul Gauthier (aider)
00e4fdbb48 fix: address flake8 errors in test_cmd_read_only_with_tilde_path 2024-08-23 06:40:17 -07:00
Paul Gauthier (aider)
955709d6c3 feat: add test case for cmd_read_only with tilde path 2024-08-23 06:39:50 -07:00
Paul Gauthier (aider)
1dc325cc72 feat: add test for /read-only command with multiple files 2024-08-22 16:46:19 -07:00
Paul Gauthier
d7279a1129 fix: Remove unused get_last_modified method from Coder class 2024-08-22 14:01:20 -07:00
Paul Gauthier
20299b2927 refactor: Rename update_files to apply_updates 2024-08-22 12:47:29 -07:00
Paul Gauthier (aider)
eff169cb5d style: Format code with consistent indentation and line breaks 2024-08-22 10:17:18 -07:00
Paul Gauthier (aider)
e81f83ffc5 fix: Use UTF-8 encoding when processing and reading files 2024-08-22 10:17:15 -07:00
Paul Gauthier (aider)
f54070f0f5 fix: Remove unused import of 'os' module 2024-08-22 09:57:31 -07:00
Paul Gauthier (aider)
7621162baa style: Fix linter issues in test_find_or_blocks.py 2024-08-22 09:57:21 -07:00
Paul Gauthier (aider)
29a323c55d fix: Run process_markdown if a file is provided on the command line, otherwise run unittest 2024-08-22 09:57:18 -07:00
Paul Gauthier (aider)
1ee481f4ea style: Format Python code using linter 2024-08-22 09:48:14 -07:00
Paul Gauthier (aider)
210a9e5a49 feat: add test case for process_markdown 2024-08-22 09:48:11 -07:00
Paul Gauthier
14a755aafd fix: Update print statement to remove unnecessary arguments 2024-08-22 09:48:03 -07:00
Paul Gauthier (aider)
f55fd9734f style: remove unnecessary JSON usage in usage message 2024-08-22 09:42:35 -07:00
Paul Gauthier (aider)
f2fa99b79f style: format code with linter 2024-08-22 09:42:05 -07:00
Paul Gauthier (aider)
905cbc377d feat: Add file handle support to process_markdown 2024-08-22 09:42:02 -07:00
Paul Gauthier
a16ee761a7 fix: Restore the all_fences definition from the base_coder module 2024-08-22 09:40:34 -07:00
Paul Gauthier
97c6002690 moved to tests/basic/test_find_or_blocks.py 2024-08-22 09:27:53 -07:00
Paul Gauthier
b2488af638 fix: Handle path-specific edits in base_coder.py
test: Update test_main.py to check for explicit approval of shell commands
2024-08-21 21:47:11 -07:00
Paul Gauthier (aider)
c7bf46bf68 fix: Remove unused ApplyShellCommandsError import 2024-08-21 21:46:03 -07:00
Paul Gauthier (aider)
f46e3dea11 refactor: Remove ApplyShellCommandsError handling from test 2024-08-21 21:45:54 -07:00
Paul Gauthier (aider)
b54fc0d848 style: Fix import order in test_main.py 2024-08-21 21:42:50 -07:00
Paul Gauthier (aider)
84bb1895ee feat: Add --apply option to main() and raise ApplyShellCommandsError 2024-08-21 21:42:47 -07:00
Paul Gauthier (aider)
abb69c9543 style: Apply linter edits to test_io.py 2024-08-21 21:38:06 -07:00
Paul Gauthier (aider)
b5c1ae69a9 feat: Add test for explicit_yes_required in confirm_ask method 2024-08-21 21:38:03 -07:00
Paul Gauthier (aider)
4ce08178fc feat: Add test for /reset command 2024-08-21 21:26:51 -07:00
Paul Gauthier (aider)
bbb40e3045 feat: Add test for --map-mul option and update RepoMap to print map_mul_no_files 2024-08-21 16:03:37 -07:00
Paul Gauthier (aider)
2293d115aa fix: Update test case for finding original update blocks with unclosed block 2024-08-21 11:17:11 -07:00