Metadata-Version: 2.1
Name: coderider-codereview
Version: 0.1.1
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

Copy `.env.example` to `.env`, and set ENV:

```.env
CR_AI_BOT_TOKEN=""
CR_MR_PROJECT_PATH=""
CR_MR_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
CR_AI_BOT_TOKEN="" CR_MR_PROJECT_PATH="" CR_MR_IID="" crcr
```

## GitLab CI Template File

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

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

