python-jsonschema / python-jsonschema/check-jsonschema
Allow validating YAML with inline yaml-language-server comments
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Python
- Stars
- 341
- Forks
- 71
- Avg merge
- 15d 20h
- Merged PRs (30d)
- 4
Description
As title says, e.g.:
# yaml-language-server: $schema=https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json
Pretty sure that's the most common way of describing schemas in YAML as of today. Would be nice to support it.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the CLI's YAML validation entry point and existing schema-loading tests. Reproduce the inline yaml-language-server comment from the issue, then verify that its schema URL is used for validation and that the relevant tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, yaml
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100