Multi-language code verification tool
Project description
VeriCode
A plugin-based python tool that to be used with various code checkers. The tool currently has plugins for pylint, flake8 and pydocstyle. It will have support for TypeScript in the future.
How to use
The tool can be used by running the following command:
python3 vericode.py -t <tool> -s <source>
Examples
Standard flake8 test of the code in the given directory:
python3 vericode.py -t flake8 -s directory or file
Only report files that have a certain flake8 error:
python3 vericode.py --select error_code -t flake8 -s directory or file
Standard pylint test of the code in the given directory. In this mode, the tool reports processed files, their individual pylint scores and the average score for the directory:
python3 vericode.py -t pylint -s directory or file
Pure pylint error reporting:
python3 vericode.py --errors-only -t pylint -s directory or file
Only report files that have a pylint score below a certain threshold:
python3 vericode.py --scores-less-than threshold -t pylint -s directory or file
In the case there are such files, the tool will print them out and consider the run failed.
Standard pydocstyle test of the code in the given directory:
python3 vericode.py -t pydocstyle -s directory or file
Limitations
- Only one directory or file can be processed at a time. If a directory is given, the tool will process all files in the directory and its subdirectories.
- --select flag is only supported for flake8 tests.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vericode-1.0.1.tar.gz.
File metadata
- Download URL: vericode-1.0.1.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b90d3bc3b9228ff71070553a756349582ec28f76bd717f53b59a583886400922
|
|
| MD5 |
a1420d1af3cac370cabfae231b8bcf7f
|
|
| BLAKE2b-256 |
0b79ef837cf9516c67e40dac4e86c7c83977b2e5d5cc60d3c9cee9860b32bb1e
|
Provenance
The following attestation bundles were made for vericode-1.0.1.tar.gz:
Publisher:
publish.yml on PalNilsson/vericode
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vericode-1.0.1.tar.gz -
Subject digest:
b90d3bc3b9228ff71070553a756349582ec28f76bd717f53b59a583886400922 - Sigstore transparency entry: 339639364
- Sigstore integration time:
-
Permalink:
PalNilsson/vericode@36a5ca11d28beaf87a3aa92b0afefa7d1fdfc3d7 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/PalNilsson
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@36a5ca11d28beaf87a3aa92b0afefa7d1fdfc3d7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file vericode-1.0.1-py3-none-any.whl.
File metadata
- Download URL: vericode-1.0.1-py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da1f5a7c515658d3f1fdad0faa2b856d0fd16a092873e70f5ea04c5a0e5199ee
|
|
| MD5 |
74e8dc8a6cc6a07f3232f8d9461200a6
|
|
| BLAKE2b-256 |
e5a2ba22d8f5479c0a7b5d34fca2b59cc4f6e5ce72886d728164abe7f5b2ef9c
|
Provenance
The following attestation bundles were made for vericode-1.0.1-py3-none-any.whl:
Publisher:
publish.yml on PalNilsson/vericode
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vericode-1.0.1-py3-none-any.whl -
Subject digest:
da1f5a7c515658d3f1fdad0faa2b856d0fd16a092873e70f5ea04c5a0e5199ee - Sigstore transparency entry: 339639372
- Sigstore integration time:
-
Permalink:
PalNilsson/vericode@36a5ca11d28beaf87a3aa92b0afefa7d1fdfc3d7 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/PalNilsson
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@36a5ca11d28beaf87a3aa92b0afefa7d1fdfc3d7 -
Trigger Event:
push
-
Statement type: