ace-git-copilot 0.2.4__tar.gz → 0.2.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/PKG-INFO +1 -1
  2. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/cli.py +2 -0
  3. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/core/diagnostics.py +0 -1
  4. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/pyproject.toml +1 -1
  5. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_diagnostics.py +0 -1
  6. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_hooks.py +2 -3
  7. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/.agents/AGENTS.md +0 -0
  8. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/.env.example +0 -0
  9. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/.github/workflows/tests.yml +0 -0
  10. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/.gitignore +0 -0
  11. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/README.md +0 -0
  12. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/__init__.py +0 -0
  13. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/__main__.py +0 -0
  14. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/changelog_generator.py +0 -0
  15. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/code_reviewer.py +0 -0
  16. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/commit_generator.py +0 -0
  17. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/conflict_resolver.py +0 -0
  18. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/gitignore_generator.py +0 -0
  19. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/history_analyzer.py +0 -0
  20. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/intent_parser.py +0 -0
  21. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/llm_factory.py +0 -0
  22. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/pr_drafter.py +0 -0
  23. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/prompts/changelog.py +0 -0
  24. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/prompts/commit.py +0 -0
  25. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/prompts/conflict.py +0 -0
  26. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/prompts/doctor.py +0 -0
  27. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/prompts/explain.py +0 -0
  28. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/prompts/ignore.py +0 -0
  29. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/prompts/intent.py +0 -0
  30. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/prompts/pr.py +0 -0
  31. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/prompts/rebase.py +0 -0
  32. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/prompts/review.py +0 -0
  33. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/prompts/search.py +0 -0
  34. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/prompts/undo.py +0 -0
  35. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/rebase_helper.py +0 -0
  36. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/core/config.py +0 -0
  37. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/core/context.py +0 -0
  38. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/core/git_ops.py +0 -0
  39. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/core/hooks.py +0 -0
  40. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/core/safety.py +0 -0
  41. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ui/banner.py +0 -0
  42. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ui/dashboard.py +0 -0
  43. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ui/display.py +0 -0
  44. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ui/prompts.py +0 -0
  45. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ui/themes.py +0 -0
  46. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/utils/conflict_parser.py +0 -0
  47. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/utils/diff_parser.py +0 -0
  48. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/utils/json_utils.py +0 -0
  49. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/conftest.py +0 -0
  50. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_changelog_generator.py +0 -0
  51. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_code_reviewer.py +0 -0
  52. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_conflict_resolver.py +0 -0
  53. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_diff_trimmer.py +0 -0
  54. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_git_ops.py +0 -0
  55. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_help.py +0 -0
  56. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_history_analyzer.py +0 -0
  57. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_ignore.py +0 -0
  58. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_intent_parser.py +0 -0
  59. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_llm_factory.py +0 -0
  60. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_pr_drafter.py +0 -0
  61. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_rebase_helper.py +0 -0
  62. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_safety.py +0 -0
  63. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_search.py +0 -0
  64. {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_undo.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ace-git-copilot
3
- Version: 0.2.4
3
+ Version: 0.2.5
4
4
  Summary: AI-powered Git copilot — talk to Git in plain English
5
5
  License: MIT
6
6
  Classifier: License :: OSI Approved :: MIT License
@@ -565,6 +565,8 @@ def review_cmd(
565
565
  ):
566
566
  if not isinstance(file, str):
567
567
  file = None
568
+ if not isinstance(all_changes, bool):
569
+ all_changes = False
568
570
  if not isinstance(branch, str):
569
571
  branch = None
570
572
  if not isinstance(strict, bool):
@@ -1,4 +1,3 @@
1
- import os
2
1
  from pathlib import Path
3
2
  from typing import Dict, Any, List
4
3
  from ace.core.git_ops import GitOps
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "ace-git-copilot"
3
- version = "0.2.4"
3
+ version = "0.2.5"
4
4
  description = "AI-powered Git copilot — talk to Git in plain English"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -1,6 +1,5 @@
1
1
  import pytest
2
2
  from unittest.mock import MagicMock, patch
3
- from pathlib import Path
4
3
  from ace.core.diagnostics import GitDiagnostics
5
4
 
6
5
  @pytest.fixture
@@ -1,6 +1,5 @@
1
1
  import pytest
2
2
  from unittest.mock import MagicMock, patch
3
- from pathlib import Path
4
3
  from ace.core.hooks import GitHooksManager
5
4
 
6
5
  @pytest.fixture
@@ -19,7 +18,7 @@ def test_install_pre_commit(mock_git_ops):
19
18
  patch("ace.core.hooks.os.stat"), \
20
19
  patch("ace.core.hooks.os.chmod") as mock_chmod:
21
20
 
22
- p = manager.install_pre_commit()
21
+ manager.install_pre_commit()
23
22
 
24
23
  mock_path.write_text.assert_called_once()
25
24
  args, kwargs = mock_path.write_text.call_args
@@ -36,7 +35,7 @@ def test_install_prepare_commit_msg(mock_git_ops):
36
35
  patch("ace.core.hooks.os.stat"), \
37
36
  patch("ace.core.hooks.os.chmod") as mock_chmod:
38
37
 
39
- p = manager.install_prepare_commit_msg()
38
+ manager.install_prepare_commit_msg()
40
39
 
41
40
  mock_path.write_text.assert_called_once()
42
41
  args, kwargs = mock_path.write_text.call_args