Skip to main content

Code style: black pre-commit Language grade: Python codecov github-actions

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

Metadata

Release files for codecov-validator 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for codecov-validator 1.0.1
File Size Uploaded
codecov_validator-1.0.1.tar.gz 10.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for codecov-validator 1.0.1
File Interpreter ABI Platform
codecov_validator-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 15.5 kB

Release files / codecov_validator-1.0.1.tar.gz

Download URL codecov_validator-1.0.1.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
accf1581be96c0262f0ddf1b8d8d7411af5a59846419d90470a9ea9f6029387e
BLAKE2b-256 checksum
How to use checksums
1a4b6b7a308b6fa96a0817f2ed4970b24c78f23c89e3064182f606eaabd07e55
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / codecov_validator-1.0.1-py3-none-any.whl

Download URL codecov_validator-1.0.1-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
85b84639fd31b930995de6be1aeec5ab945fe103bbc8883f74f1023be191bb51
BLAKE2b-256 checksum
How to use checksums
f3bde0c68a98eef04926adf2e56e76016dba597a4245691d86a0b33a37f87408
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

0.0.2

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page