A tool to check wolfSSL coding standards
Project description
PR-review
Use check
command 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pr_review-0.0.0.1.tar.gz
.
File metadata
- Download URL: pr_review-0.0.0.1.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.1 CPython/3.12.2 Darwin/23.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6da8f6f67fc55eee8b3de8a9733b63c3324a311b665ab14a2290afe2a77b987 |
|
MD5 | ad3d5336795b9a7a77ece6400704f69f |
|
BLAKE2b-256 | a34a84663ba81b07bc1374f5fc226c09afe4a306da03a939bf5400cc57be4c12 |
File details
Details for the file pr_review-0.0.0.1-py3-none-any.whl
.
File metadata
- Download URL: pr_review-0.0.0.1-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.1 CPython/3.12.2 Darwin/23.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f496ec0a5f2f77aa877c4470745ec25dc3dc6f2729532d6bc8877a6731b8161 |
|
MD5 | f151b0b7afbd22b212d7c554ccb8de6c |
|
BLAKE2b-256 | 3e15f80d49c9e4b7a0a438242d1f34ee06358d4b21fd40484fc134c7834716bd |