main
Use Typer to run gatorgrade to run the checks and generate the yml file.
gatorgrade(ctx, filename=typer.Option(FILE, '--config', '-c', help='Name of the yml file.'), report=typer.Option((None, None, None), '--report', '-r', help="A tuple containing the following REQUIRED values: 1. The destination of the report (either file or env) 2. The format of the report (either json or md) 3. the name of the file or environment variable 4. use 'env md GITHUB_STEP_SUMMARY' to create GitHub job summary in GitHub Action"))
Run the GatorGrader checks in the specified gatorgrade.yml file.
Source code in gatorgrade/main.py
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
|