codecov-validator-1.0.1rc1
توضیحات
Validates the codecov.yml configuration file.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | codecov-validator-1.0.1rc1 |
| نام | codecov-validator |
| نسخه کتابخانه | 1.0.1rc1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | mashi |
| ایمیل نویسنده | 59000162+mashi@users.noreply.github.com |
| آدرس صفحه اصلی | https://github.com/mashi/codecov-validator |
| آدرس اینترنتی | https://pypi.org/project/codecov-validator/ |
| مجوز | - |
[](https://github.com/psf/black)
[](https://github.com/pre-commit/pre-commit)
[](https://lgtm.com/projects/g/mashi/codecov-validator/context:python)
[](https://codecov.io/gh/mashi/codecov-validator)
[](https://github.com/mashi/codecov-validator/actions)
# Description
Validates the `codecov.yml` configuration file.
This package is simply the `curl` command described in the [codecov documentation](https://docs.codecov.io/docs/codecov-yaml)
converted to python.
This package was inspired by [gitlab-lint](https://pypi.org/project/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
```
نیازمندی
| مقدار | نام |
|---|---|
| ~=2.26.0 | requests |
| ~=8.0.0 | click |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl codecov-validator-1.0.1rc1:
pip install codecov-validator-1.0.1rc1.whl
نصب پکیج tar.gz codecov-validator-1.0.1rc1:
pip install codecov-validator-1.0.1rc1.tar.gz