Skip to main content

Validates the codecov.yml configuration file.

Project description

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

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

codecov_validator-1.0.1.tar.gz (10.0 kB view hashes)

Uploaded Source

Built Distribution

codecov_validator-1.0.1-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

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