Validates the codecov.yml configuration file.
Project description
Description
Validates the codecov.yml
configuration file.
This package is simply the curl
command described in the codecov documentation
converted to python.
This package was inspired by gitlab-lint, package that checks .gitlab-ci.yml
configuration file.
Usage
The recommended use is to add in the .pre-commit-config.yaml
file
- repo: https://github.com/mashi/codecov-validator
rev: v1.0.0 # replace by any tag version >= 1.0.0 available
hooks:
- id: ccv
# args: [--filename, .codecov.yml] # example with arguments
In this way, the codecov.yml
file is checked before commit
and prevents the user
from including invalid files in the version control.
Instructions (Development)
Create a virtual environment and install the required packages with
python3 -m venv .venv
source .venv/bin/activate
pip install wheel
pip install -r requirements.txt
pre-commit install
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 codecov_validator-1.0.1.tar.gz
.
File metadata
- Download URL: codecov_validator-1.0.1.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | accf1581be96c0262f0ddf1b8d8d7411af5a59846419d90470a9ea9f6029387e |
|
MD5 | de7877a5e3eeb5cfce103107fc8d68ed |
|
BLAKE2b-256 | 1a4b6b7a308b6fa96a0817f2ed4970b24c78f23c89e3064182f606eaabd07e55 |
File details
Details for the file codecov_validator-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: codecov_validator-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85b84639fd31b930995de6be1aeec5ab945fe103bbc8883f74f1023be191bb51 |
|
MD5 | 60eaf623cbbcc9f4061cdec32b88b8b8 |
|
BLAKE2b-256 | f3bde0c68a98eef04926adf2e56e76016dba597a4245691d86a0b33a37f87408 |