Skip to main content

A tool to check wolfSSL coding standards

Project description

PR-review

Use checkcommand to verify your code follows the wolfSSL coding standards.

Getting Started

  1. Clone the repository: Clone this repository to your local machine to start working with the scripts.

  2. Install dependencies: Run pip3 install . in the root of this project to install the necessary Python packages listed in pyproject.toml.

    NOTE: If you are using newer pip, you need to add option: pip3 install --break-system-packages .

  3. 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.

  1. Usage: $ check [FILE]...

    • example: Use this script to automate the review of pull requests.$ check file1 file2 file3
  2. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pr_review-0.0.0.1.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

pr_review-0.0.0.1-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

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

Hashes for pr_review-0.0.0.1.tar.gz
Algorithm Hash digest
SHA256 d6da8f6f67fc55eee8b3de8a9733b63c3324a311b665ab14a2290afe2a77b987
MD5 ad3d5336795b9a7a77ece6400704f69f
BLAKE2b-256 a34a84663ba81b07bc1374f5fc226c09afe4a306da03a939bf5400cc57be4c12

See more details on using hashes here.

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

Hashes for pr_review-0.0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8f496ec0a5f2f77aa877c4470745ec25dc3dc6f2729532d6bc8877a6731b8161
MD5 f151b0b7afbd22b212d7c554ccb8de6c
BLAKE2b-256 3e15f80d49c9e4b7a0a438242d1f34ee06358d4b21fd40484fc134c7834716bd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page