Paul Gauthier (aider)
fb87dd883c
test: patch input() to return empty string
...
This commit patches the `input()` builtin to return an empty string in the test setup, preventing tests from hanging while waiting for user input. It also adds cleanup for the patch in the teardown method.
2024-09-10 14:18:32 -07:00
Paul Gauthier (aider)
8da88eef64
fix: remove unused import of builtins module
2024-09-10 14:09:40 -07:00
Paul Gauthier (aider)
3685f307c7
style: reorder imports in test_io.py
2024-09-10 14:09:33 -07:00
Paul Gauthier (aider)
d5d087123a
test: update input mocking in TestInputOutput
2024-09-10 14:09:29 -07:00
Paul Gauthier (aider)
1d312e372d
refactor: Remove unused import of 'prompt' from prompt_toolkit
2024-09-10 14:07:32 -07:00
Paul Gauthier (aider)
13fe2036db
style: remove trailing whitespace in io.py
2024-09-10 14:06:55 -07:00
Paul Gauthier (aider)
d4e47bc7e7
refactor: update confirm_ask to use prompt_session or input
2024-09-10 14:06:51 -07:00
Paul Gauthier (aider)
79a424bc10
refactor: conditionally initialize and use PromptSession based on pretty flag
2024-09-10 13:49:22 -07:00
Paul Gauthier
ed866d33e4
pip-compiled
2024-09-10 13:40:19 -07:00
Paul Gauthier
04556ef32d
Merge remote-tracking branch 'refs/remotes/origin/main'
2024-09-10 13:39:06 -07:00
paul-gauthier
36553d797f
Merge pull request #1003 from cclauss/patch-1
...
Fix typos discovered by codespell
2024-09-10 13:38:59 -07:00
Paul Gauthier
2c08cc47e6
copy
2024-09-10 13:38:25 -07:00
Paul Gauthier (aider)
971fe5017a
feat: enable automatic writing of codespell changes in pyproject.toml
2024-09-10 13:38:14 -07:00
Paul Gauthier (aider)
e3e6437dca
chore: configure codespell to use pyproject.toml and skip specific files
2024-09-10 13:37:18 -07:00
Paul Gauthier (aider)
c575bae710
feat: add codespell as pre-commit hook
2024-09-10 13:33:27 -07:00
Paul Gauthier (aider)
13f9685f13
style: Format code to comply with linter rules
2024-09-10 13:03:36 -07:00
Paul Gauthier (aider)
00f03d89b9
feat: expand read-only command to handle directories
2024-09-10 13:03:31 -07:00
Paul Gauthier
484fdd7aa3
fix: handle ValueError exception in run_cmd_pexpect function
2024-09-10 12:06:45 -07:00
Paul Gauthier
c152c96fcc
copy
2024-09-10 10:05:01 -07:00
Paul Gauthier (aider)
89891efbb8
style: format prompt_session.prompt call to fit on one line
2024-09-10 10:00:05 -07:00
Paul Gauthier (aider)
43eaf91e8d
refactor: use pre-initialized PromptSession in prompt_ask function
2024-09-10 10:00:00 -07:00
Paul Gauthier (aider)
bf3a165961
refactor: initialize and reuse PromptSession in InputOutput class
2024-09-10 09:57:09 -07:00
Paul Gauthier
33b69d2ee8
pip-compiled
2024-09-10 09:48:23 -07:00
Paul Gauthier (aider)
766569a278
refactor: Remove unused ctypes import
2024-09-10 09:45:05 -07:00
Paul Gauthier (aider)
cc94b51a0b
style: use double quotes for string literals in run_cmd.py
2024-09-10 09:44:57 -07:00
Paul Gauthier (aider)
f1d1d1b37a
feat: improve Windows parent process detection using psutil
2024-09-10 09:44:54 -07:00
Paul Gauthier
e84caa48a0
refactor: modify stdout reading chunk size in run_cmd_subprocess
2024-09-10 09:44:52 -07:00
Paul Gauthier (aider)
ab9d9c8429
refactor: improve subprocess output handling for real-time display
2024-09-10 09:34:58 -07:00
Paul Gauthier (aider)
625a49752b
refactor: remove psutil dependency and check parent process only on Windows
2024-09-10 09:30:36 -07:00
Paul Gauthier
e5ff5eff75
refactor: rename and simplify parent process name retrieval function
2024-09-10 09:30:35 -07:00
Paul Gauthier (aider)
cb42464676
style: Reorder imports and format code
2024-09-10 09:28:42 -07:00
Paul Gauthier (aider)
5de0a0f7a9
feat: improve shell detection for Windows environments
2024-09-10 09:28:39 -07:00
Paul Gauthier
765ea801b1
refactor: simplify shell command execution logic
2024-09-10 09:25:50 -07:00
Paul Gauthier (aider)
1327c1e893
style: format command string for PowerShell execution
2024-09-10 06:51:43 -07:00
Paul Gauthier (aider)
4605969921
fix: improve PowerShell command execution and output capture on Windows
2024-09-10 06:51:38 -07:00
Paul Gauthier (aider)
e3b7b80280
feat: respect user's shell environment in subprocess execution
2024-09-10 06:40:07 -07:00
Paul Gauthier
b8ce472cb6
copy
2024-09-09 15:20:36 -07:00
Paul Gauthier
6a0ad9629b
copy
2024-09-09 15:04:37 -07:00
Paul Gauthier
d99191e07b
copy
2024-09-09 15:01:53 -07:00
Paul Gauthier
6cddc800f1
docs: update HISTORY.md and remove git operations from versionbump.py
2024-09-09 15:01:08 -07:00
Paul Gauthier (aider)
de84a08924
style: Apply linter suggestions to versionbump.py
2024-09-09 15:00:41 -07:00
Paul Gauthier (aider)
fb1a9254c7
feat: remove aider/__version__.py after version bump
2024-09-09 15:00:37 -07:00
Paul Gauthier
5420f67b2b
copy
2024-09-09 14:56:44 -07:00
Paul Gauthier
fe2e36afda
cache ro+repo or just ro if no repo
2024-09-09 14:51:33 -07:00
Paul Gauthier
b216d57107
copy
2024-09-09 14:47:56 -07:00
Paul Gauthier
509c880b68
set version to 0.56.1.dev
2024-09-09 14:46:20 -07:00
Paul Gauthier
6f2b064f53
version bump to 0.56.0
2024-09-09 14:45:11 -07:00
Paul Gauthier
26c2b2e3ed
copy
2024-09-09 14:43:35 -07:00
Paul Gauthier
3976d4b8f1
copy
2024-09-09 14:37:18 -07:00
Paul Gauthier
964fe7e2dc
fix: handle UnicodeEncodeError in prompt session
2024-09-09 13:56:27 -07:00