PyCQA / PyCQA/isort

Can we add a json schema to complete pyproject.toml's [tool.isort]?

Open
#2,227 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
7k
Forks
687
Avg merge
4h 56m
Merged PRs (30d)
2

Description

json schema can let editor which support LSP to complete some configuration file. Such as:

Screenshot from 2024-01-20 23-24-42

There are many tools have supported json schema: https://json.schemastore.org/pyproject.json

Screenshot from 2024-01-20 23-36-38

Can tool.isort be supported?

Refer https://github.com/cmhughes/latexindent.pl/issues/206:

The steps are following:

  1. Create a json schema
  2. Add its URL to schemastore.

Contributor guide

No contributing guide indexed for this repository

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

Start with isort's documented pyproject.toml configuration, especially the [tool.isort] section, and review the linked SchemaStore pyproject schema examples. Create a JSON schema covering the supported isort configuration and follow SchemaStore's contribution process; done means the schema is available through SchemaStore for editor completion.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.