Metadata-Version: 2.1
Name: coderider-codereview
Version: 0.1.0
Summary: AI Code Review from CodeRider
License: Proprietary
Author: Baodong
Author-email: wwwicbd@gmail.com
Requires-Python: >=3.11,<4.0
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: furl (>=2.1.3,<3.0.0)
Requires-Dist: litellm (>=1.44.28,<2.0.0)
Requires-Dist: python-decouple (>=3.8,<4.0)
Requires-Dist: python-gitlab (>=4.10.0,<5.0.0)
Requires-Dist: requests (>=2.32.3,<3.0.0)
Description-Content-Type: text/markdown

# CodeRider CodeReview

## How to set up

Create `.env` file:

```.env
GITLAB_HOST=
CODERIDER_HOST=
AI_BOT_PERSONAL_ACCESS_TOKEN=
CI_MERGE_REQUEST_PROJECT_PATH=
CI_MERGE_REQUEST_IID=
```

Install dependencies:

```shell
poetry install
```

## Publish

https://pypi.org/project/coderider-codereview/

```shell
poetry config pypi-token.pypi <pypi-token>
poetry publish
```

## Use it in local

```shell
pip install coderider_codereview
AI_BOT_PERSONAL_ACCESS_TOKEN="" CI_MERGE_REQUEST_PROJECT_PATH="" CI_MERGE_REQUEST_IID="" crcr
```

## GitLab CI Template File

https://jihulab.com/-/snippets/6198

```yml
include:
  - remote: 'https://jihulab.com/-/snippets/6198/raw/main/coderider-codereview.yml'
```

