PR-review
Use checkcommand to verify your code follows the wolfSSL coding standards.
Getting Started
-
Clone the repository: Clone this repository to your local machine to start working with the scripts.
-
Install dependencies: Run
pip3 install .in the root of this project to install the necessary Python packages listed inpyproject.toml.NOTE: If you are using newer pip, you need to add option:
pip3 install --break-system-packages . -
Export OPENAI_API_KEY ⚙️:
You must exoport an OPENAI_API_KEY in your environment.
Also, you must have an access to the GPT-4 model to call OpenAI API. I recommend to export the key in .zshrc.
Amazing!
Now you can use the check command.
-
Usage:
$ check [FILE]...- example: Use this script to automate the review of pull requests.
$ check file1 file2 file3
- example: Use this script to automate the review of pull requests.
-
Configulation
Run check --show-config-path to see where the config file are located and you can change value to the variables like 'lanugage' in the config file.
Metadata
Release files for pr-review 0.0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pr_review-0.0.0.1.tar.gz | 8.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pr_review-0.0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.4 kB
Release files / pr_review-0.0.0.1.tar.gz
| Download URL | pr_review-0.0.0.1.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d6da8f6f67fc55eee8b3de8a9733b63c3324a311b665ab14a2290afe2a77b987
|
|
BLAKE2b-256 checksum How to use checksums |
a34a84663ba81b07bc1374f5fc226c09afe4a306da03a939bf5400cc57be4c12
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.1 CPython/3.12.2 Darwin/23.1.0
|
Release files / pr_review-0.0.0.1-py3-none-any.whl
| Download URL | pr_review-0.0.0.1-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8f496ec0a5f2f77aa877c4470745ec25dc3dc6f2729532d6bc8877a6731b8161
|
|
BLAKE2b-256 checksum How to use checksums |
3e15f80d49c9e4b7a0a438242d1f34ee06358d4b21fd40484fc134c7834716bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.1 CPython/3.12.2 Darwin/23.1.0
|