airev 1.1.0__tar.gz → 1.1.1__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.
- {airev-1.1.0 → airev-1.1.1}/PKG-INFO +1 -1
- {airev-1.1.0 → airev-1.1.1}/pyproject.toml +1 -1
- {airev-1.1.0 → airev-1.1.1}/src/airev.egg-info/PKG-INFO +1 -1
- {airev-1.1.0 → airev-1.1.1}/src/airev.egg-info/SOURCES.txt +2 -0
- {airev-1.1.0 → airev-1.1.1}/src/code_reviewer/__init__.py +1 -1
- airev-1.1.1/src/code_reviewer/locales/en.yaml +61 -0
- airev-1.1.1/src/code_reviewer/locales/pt-br.yaml +61 -0
- {airev-1.1.0 → airev-1.1.1}/README.md +0 -0
- {airev-1.1.0 → airev-1.1.1}/setup.cfg +0 -0
- {airev-1.1.0 → airev-1.1.1}/src/airev.egg-info/dependency_links.txt +0 -0
- {airev-1.1.0 → airev-1.1.1}/src/airev.egg-info/entry_points.txt +0 -0
- {airev-1.1.0 → airev-1.1.1}/src/airev.egg-info/requires.txt +0 -0
- {airev-1.1.0 → airev-1.1.1}/src/airev.egg-info/top_level.txt +0 -0
- {airev-1.1.0 → airev-1.1.1}/src/code_reviewer/cli.py +0 -0
- {airev-1.1.0 → airev-1.1.1}/src/code_reviewer/context_builder.py +0 -0
- {airev-1.1.0 → airev-1.1.1}/src/code_reviewer/diff_parser.py +0 -0
- {airev-1.1.0 → airev-1.1.1}/src/code_reviewer/formatters/__init__.py +0 -0
- {airev-1.1.0 → airev-1.1.1}/src/code_reviewer/formatters/progress.py +0 -0
- {airev-1.1.0 → airev-1.1.1}/src/code_reviewer/formatters/terminal.py +0 -0
- {airev-1.1.0 → airev-1.1.1}/src/code_reviewer/i18n/__init__.py +0 -0
- {airev-1.1.0 → airev-1.1.1}/src/code_reviewer/models.py +0 -0
- {airev-1.1.0 → airev-1.1.1}/src/code_reviewer/prompt_builder.py +0 -0
- {airev-1.1.0 → airev-1.1.1}/src/code_reviewer/prompts/review_system.md +0 -0
- {airev-1.1.0 → airev-1.1.1}/src/code_reviewer/response_parser.py +0 -0
- {airev-1.1.0 → airev-1.1.1}/src/code_reviewer/runners/__init__.py +0 -0
- {airev-1.1.0 → airev-1.1.1}/src/code_reviewer/runners/base.py +0 -0
- {airev-1.1.0 → airev-1.1.1}/src/code_reviewer/runners/copilot.py +0 -0
- {airev-1.1.0 → airev-1.1.1}/src/code_reviewer/runners/gemini.py +0 -0
- {airev-1.1.0 → airev-1.1.1}/src/code_reviewer/updater/__init__.py +0 -0
- {airev-1.1.0 → airev-1.1.1}/src/code_reviewer/updater/http_client.py +0 -0
- {airev-1.1.0 → airev-1.1.1}/src/code_reviewer/updater/notifier.py +0 -0
- {airev-1.1.0 → airev-1.1.1}/src/code_reviewer/updater/upgrade.py +0 -0
- {airev-1.1.0 → airev-1.1.1}/src/code_reviewer/updater/version_check.py +0 -0
- {airev-1.1.0 → airev-1.1.1}/tests/test_context_builder.py +0 -0
- {airev-1.1.0 → airev-1.1.1}/tests/test_copilot_runner.py +0 -0
- {airev-1.1.0 → airev-1.1.1}/tests/test_diff_parser.py +0 -0
- {airev-1.1.0 → airev-1.1.1}/tests/test_i18n.py +0 -0
- {airev-1.1.0 → airev-1.1.1}/tests/test_progress.py +0 -0
- {airev-1.1.0 → airev-1.1.1}/tests/test_prompt_builder.py +0 -0
- {airev-1.1.0 → airev-1.1.1}/tests/test_response_parser.py +0 -0
- {airev-1.1.0 → airev-1.1.1}/tests/test_terminal_formatter.py +0 -0
- {airev-1.1.0 → airev-1.1.1}/tests/test_updater.py +0 -0
|
@@ -17,6 +17,8 @@ src/code_reviewer/formatters/__init__.py
|
|
|
17
17
|
src/code_reviewer/formatters/progress.py
|
|
18
18
|
src/code_reviewer/formatters/terminal.py
|
|
19
19
|
src/code_reviewer/i18n/__init__.py
|
|
20
|
+
src/code_reviewer/locales/en.yaml
|
|
21
|
+
src/code_reviewer/locales/pt-br.yaml
|
|
20
22
|
src/code_reviewer/prompts/review_system.md
|
|
21
23
|
src/code_reviewer/runners/__init__.py
|
|
22
24
|
src/code_reviewer/runners/base.py
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# English translations
|
|
2
|
+
|
|
3
|
+
cli:
|
|
4
|
+
# Analysis messages
|
|
5
|
+
analyzing: "Analyzing: [bold]{branch}[/bold] → [bold]{base}[/bold]"
|
|
6
|
+
getting_diff: "Getting diff..."
|
|
7
|
+
analyzing_diff: "Analyzing diff..."
|
|
8
|
+
building_context: "Building context..."
|
|
9
|
+
building_prompt: "Building prompt..."
|
|
10
|
+
running_analysis: "Running analysis with {runner}..."
|
|
11
|
+
processing_response: "Processing response..."
|
|
12
|
+
analysis_complete: "Analysis completed in {elapsed:.1f}s"
|
|
13
|
+
|
|
14
|
+
# Error messages
|
|
15
|
+
error_branch: "Error getting current branch: {error}"
|
|
16
|
+
error_diff: "Error getting diff: {error}"
|
|
17
|
+
error_diff_help: "Check if branch '{base}' exists and you're in a git repository."
|
|
18
|
+
error_runner_invalid: "Invalid runner: {error}"
|
|
19
|
+
error_runner_unavailable: "Runner '{runner}' is not available."
|
|
20
|
+
error_runner_help: "Check if the CLI is installed and configured."
|
|
21
|
+
error_runner_not_found: "Runner not found: {error}"
|
|
22
|
+
error_execution: "Execution error: {error}"
|
|
23
|
+
|
|
24
|
+
# Warning messages
|
|
25
|
+
no_changes: "No changes found in diff."
|
|
26
|
+
no_files: "No relevant files to analyze."
|
|
27
|
+
|
|
28
|
+
# Dependencies
|
|
29
|
+
dependencies_found: "Dependencies found:"
|
|
30
|
+
|
|
31
|
+
progress:
|
|
32
|
+
# Summary labels
|
|
33
|
+
modified_files: "Modified files:"
|
|
34
|
+
files_label: "Files:"
|
|
35
|
+
lines_label: "Lines:"
|
|
36
|
+
no_dependencies: "No dependencies found"
|
|
37
|
+
callers: "Callers:"
|
|
38
|
+
callees: "Callees:"
|
|
39
|
+
more: "+{count} more"
|
|
40
|
+
|
|
41
|
+
terminal:
|
|
42
|
+
# Header
|
|
43
|
+
code_review: "CODE REVIEW"
|
|
44
|
+
compared_with: "Compared with:"
|
|
45
|
+
files_count: "{count} file(s)"
|
|
46
|
+
|
|
47
|
+
# Findings
|
|
48
|
+
suggestion: "Suggestion:"
|
|
49
|
+
|
|
50
|
+
# Summary
|
|
51
|
+
summary: "SUMMARY:"
|
|
52
|
+
findings_count: "{count} finding(s)"
|
|
53
|
+
no_problems: "✓ No issues found. Code approved!"
|
|
54
|
+
raw_response: "AI raw response:"
|
|
55
|
+
|
|
56
|
+
parser:
|
|
57
|
+
# Fallback
|
|
58
|
+
unstructured_response: "Unstructured response"
|
|
59
|
+
unstructured_description: "The AI returned text not formatted as JSON"
|
|
60
|
+
unstructured_suggestion: "Check the raw response for details"
|
|
61
|
+
no_title: "No title"
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Traduções em Português Brasileiro (padrão)
|
|
2
|
+
|
|
3
|
+
cli:
|
|
4
|
+
# Mensagens de análise
|
|
5
|
+
analyzing: "Analisando: [bold]{branch}[/bold] → [bold]{base}[/bold]"
|
|
6
|
+
getting_diff: "Obtendo diff..."
|
|
7
|
+
analyzing_diff: "Analisando diff..."
|
|
8
|
+
building_context: "Construindo contexto..."
|
|
9
|
+
building_prompt: "Montando prompt..."
|
|
10
|
+
running_analysis: "Executando análise com {runner}..."
|
|
11
|
+
processing_response: "Processando resposta..."
|
|
12
|
+
analysis_complete: "Análise concluída em {elapsed:.1f}s"
|
|
13
|
+
|
|
14
|
+
# Mensagens de erro
|
|
15
|
+
error_branch: "Erro ao obter branch atual: {error}"
|
|
16
|
+
error_diff: "Erro ao obter diff: {error}"
|
|
17
|
+
error_diff_help: "Verifique se a branch '{base}' existe e se você está em um repositório git."
|
|
18
|
+
error_runner_invalid: "Runner inválido: {error}"
|
|
19
|
+
error_runner_unavailable: "Runner '{runner}' não está disponível."
|
|
20
|
+
error_runner_help: "Verifique se o CLI está instalado e configurado."
|
|
21
|
+
error_runner_not_found: "Runner não encontrado: {error}"
|
|
22
|
+
error_execution: "Erro na execução: {error}"
|
|
23
|
+
|
|
24
|
+
# Mensagens de aviso
|
|
25
|
+
no_changes: "Nenhuma mudança encontrada no diff."
|
|
26
|
+
no_files: "Nenhum arquivo relevante para analisar."
|
|
27
|
+
|
|
28
|
+
# Dependências
|
|
29
|
+
dependencies_found: "Dependências encontradas:"
|
|
30
|
+
|
|
31
|
+
progress:
|
|
32
|
+
# Labels de resumo
|
|
33
|
+
modified_files: "Arquivos modificados:"
|
|
34
|
+
files_label: "Arquivos:"
|
|
35
|
+
lines_label: "Linhas:"
|
|
36
|
+
no_dependencies: "Sem dependências encontradas"
|
|
37
|
+
callers: "Callers:"
|
|
38
|
+
callees: "Callees:"
|
|
39
|
+
more: "+{count} mais"
|
|
40
|
+
|
|
41
|
+
terminal:
|
|
42
|
+
# Header
|
|
43
|
+
code_review: "CODE REVIEW"
|
|
44
|
+
compared_with: "Comparado com:"
|
|
45
|
+
files_count: "{count} arquivo(s)"
|
|
46
|
+
|
|
47
|
+
# Findings
|
|
48
|
+
suggestion: "Sugestão:"
|
|
49
|
+
|
|
50
|
+
# Resumo
|
|
51
|
+
summary: "RESUMO:"
|
|
52
|
+
findings_count: "{count} finding(s)"
|
|
53
|
+
no_problems: "✓ Nenhum problema encontrado. Código aprovado!"
|
|
54
|
+
raw_response: "Resposta raw da IA:"
|
|
55
|
+
|
|
56
|
+
parser:
|
|
57
|
+
# Fallback
|
|
58
|
+
unstructured_response: "Resposta não estruturada"
|
|
59
|
+
unstructured_description: "A IA retornou texto não formatado como JSON"
|
|
60
|
+
unstructured_suggestion: "Verifique a resposta raw para detalhes"
|
|
61
|
+
no_title: "Sem título"
|
|
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
|