python-jsonschema / python-jsonschema/check-jsonschema

Feature request: add line numbers to the output

Open
#359 3 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
Python
Stars
341
Forks
71
Avg merge
15d 20h
Merged PRs (30d)
4

Description

Please consider adding line numbers to the output when schema validation errors are detected.
It would be much easier to locate errors when running as a pre-commit hook, especially in big JSON files.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by locating the CLI path that formats schema validation errors and check how pre-commit output is produced. Done means validation errors include line numbers that help locate problems in large JSON files, with coverage for the relevant output.

Written by the indexing model from the issue text.

Assessment

Tech stack
json, python
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.