pre-commit-ci / issues

public issues for https://pre-commit.ci
17 stars 3 forks source link

Outdated schema on JSONSchema store #50

Closed ad-m closed 3 years ago

ad-m commented 3 years ago

Hello,

Schema available at https://json.schemastore.org/pre-commit-config.json is outdated. It does not cover ci section at all.

I don't have knowledge about ci to fix that. I was looking for schema to get that knowledge.

Kind regards,

asottile commented 3 years ago

I am not affiliated with that schema source -- you should not trust it for correctness -- I would not recommend using it.

If you want validation, it is available in the following canonical places:

via pre-commit (pypi:

via pre-commit-ci-config (pypi):

asottile commented 3 years ago

it's also incorrect for several other reasons (top-level variability, type checking, choices, etc.) that aren't representable in json schema