Skip to content

Commit 2fb4c29

Browse files
committed
ci: wip
1 parent 0a476d4 commit 2fb4c29

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,9 @@ These options are only used when performing reviews through the command `lgtm re
434434
- **additional_context**: TOML array of extra context to send to the LLM. It supports setting the context directly in the `context` field, passing a relative file path so that lgtm downloads it from the repository, or passing any URL from which to download the context. Each element of the array must contain `prompt`, and either `context` (directly injecting context) or `file_url` (for directing lgtm to download it from there).
435435
- **compare**: When reviewing local changes (the positional argument to `lgtm` is a valid `git` path), you can choose what to compare against to generate a git diff. You can pass branch names, commits, etc. Default is `HEAD`. Only available as a CLI option.
436436

437+
438+
foo
439+
437440
#### Issues Integration options
438441

439442
See [Using Issue/User Story Information section](#using-issueuser-story-information).

src/lgtm_ai/git_client/gitlab.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ def get_file_contents(self, pr_url: PRUrl, file_path: str, branch_name: ContextB
112112
except (binascii.Error, UnicodeDecodeError):
113113
logger.warning("Failed to decode file %s from GitLab sha: %s, ignoring...", file_path, pr.sha)
114114
return None
115+
foo = 1
115116
return content
116117

117118
def _parse_gitlab_git_diff(self, diffs: list[dict[str, object]]) -> list[DiffResult]:

0 commit comments

Comments
 (0)