Commit graph

650 commits

Author SHA1 Message Date
Paul Gauthier (aider)
71e3af96d3 feat: Add tests for confirm_ask with a group 2024-08-23 16:29:37 -07:00
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)
088e47c793 feat: add sample JavaScript script with 7 functions 2024-08-23 09:55:07 -07:00
Paul Gauthier
f87036cbac feat: Add sample code base for testing 2024-08-23 09:55:06 -07:00
Paul Gauthier (aider)
950fc7f41a style: format code with linter 2024-08-23 09:54:16 -07:00
Paul Gauthier (aider)
d7f51af9ba feat: Add sample Python file with Car and Garage classes 2024-08-23 09:54:12 -07:00
Paul Gauthier
b603064abe feat: Add sample code base for testing 2024-08-23 09:54:11 -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
97ef1dd9db initial 2024-08-22 09:47:30 -07:00
Paul Gauthier
53d0729cac initial 2024-08-22 09:45:01 -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