PyCQA / PyCQA/isort

Feature request: per-block sorting strategy (inline sort)

Open
#2,272 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

Similar to https://github.com/PyCQA/isort/issues/785 I am in a situation where I would like to do no_inline_sort only for LOCALFOLDER.

Being able to define this as

[tool.isort.local_folder]
no_inline_sort = true

and doing settings there would be great.

I guess no_inline_sort_local_folder could also work, but it feels like an endless amount of $option_$section options.

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

The issue names no files or tests. Start by reading the referenced PyCQA/isort issue #785 and tracing how isort represents configuration sections and per-section options; done means supporting a local-folder-specific inline-sort setting without adding an unbounded option for every section.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.