Skip to main content

build status pre-commit.ci status

pre-commit-ci-config

validation for pre-commit.ci configuration

installation

pip install pre-commit-ci-config

api

pre_commit_ci_config.SCHEMA

a cfgv schema.

the expected input to this schema is the loaded top-level pre-commit configuration.

>>> import cfgv
>>> from pre_commit.clientlib import load_config
>>> from pre_commit_ci_config import SCHEMA
>>> cfg = load_config('.pre-commit-config.yaml')
>>> cfg = cfgv.validate(cfg, SCHEMA)
>>> cfg = cfgv.apply_defaults(cfg, SCHEMA)

check-pre-commit-ci-config

a commandline tool to validate the configuration

$ check-pre-commit-ci-config .pre-commit-config.yaml
$

as a pre-commit hook

See pre-commit for instructions

Sample .pre-commit-config.yaml:

-   repo: https://github.com/pre-commit-ci/pre-commit-ci-config
    rev: v1.6.1
    hooks:
    -   id: check-pre-commit-ci-config

Metadata

Release files for pre-commit-ci-config 1.6.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 pre-commit-ci-config 1.6.1
File Size Uploaded Provenance
pre_commit_ci_config-1.6.1.tar.gz 3.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pre-commit-ci-config 1.6.1
File Interpreter ABI Platform
pre_commit_ci_config-1.6.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 8.1 kB

Release files / pre_commit_ci_config-1.6.1.tar.gz

Download URL pre_commit_ci_config-1.6.1.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ed65ff72907a1a0664387d7651a4d11a8ca8ed4316900e695d317f3060ff6680
BLAKE2b-256 checksum
How to use checksums
90ba0e9394c1262194819a5a1494dcf3098a7339965f4b1f619bf1bea7975450
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / pre_commit_ci_config-1.6.1-py2.py3-none-any.whl

Download URL pre_commit_ci_config-1.6.1-py2.py3-none-any.whl
Size 4.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
b0f33e5cfa1a7f4d4a379f308a3a18103511fc616c8eef8ef025413ce5554888
BLAKE2b-256 checksum
How to use checksums
a72fb4f507aa9c7c9e461a5633822d4b7d439779884c74d24f0e10c70ef5d4de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Security for pre-commit-ci-config 1.6.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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