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.
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/PKG-INFO +1 -1
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/cli.py +2 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/core/diagnostics.py +0 -1
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/pyproject.toml +1 -1
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_diagnostics.py +0 -1
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_hooks.py +2 -3
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/.agents/AGENTS.md +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/.env.example +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/.github/workflows/tests.yml +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/.gitignore +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/README.md +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/__init__.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/__main__.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/changelog_generator.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/code_reviewer.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/commit_generator.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/conflict_resolver.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/gitignore_generator.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/history_analyzer.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/intent_parser.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/llm_factory.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/pr_drafter.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/prompts/changelog.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/prompts/commit.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/prompts/conflict.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/prompts/doctor.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/prompts/explain.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/prompts/ignore.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/prompts/intent.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/prompts/pr.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/prompts/rebase.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/prompts/review.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/prompts/search.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/prompts/undo.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ai/rebase_helper.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/core/config.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/core/context.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/core/git_ops.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/core/hooks.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/core/safety.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ui/banner.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ui/dashboard.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ui/display.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ui/prompts.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/ui/themes.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/utils/conflict_parser.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/utils/diff_parser.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/ace/utils/json_utils.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/conftest.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_changelog_generator.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_code_reviewer.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_conflict_resolver.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_diff_trimmer.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_git_ops.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_help.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_history_analyzer.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_ignore.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_intent_parser.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_llm_factory.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_pr_drafter.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_rebase_helper.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_safety.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_search.py +0 -0
- {ace_git_copilot-0.2.4 → ace_git_copilot-0.2.5}/tests/test_undo.py +0 -0
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|