Skip to content
This repository was archived by the owner on Oct 17, 2024. It is now read-only.
This repository was archived by the owner on Oct 17, 2024. It is now read-only.

column_width is not respected everywhere #42

@flying-sheep

Description

@flying-sheep

I see this:

[tool.ruff]
...
lint.allowed-confusables = [
  "×",
  "",
]
lint.flake8-type-checking.exempt-modules = [
]
lint.per-file-ignores."*/__init__.py" = [
  "F401",
]
lint.per-file-ignores."docs/*" = [
  "I",
]
lint.per-file-ignores."tests/*" = [
  "D",
]

and would rather see

[tool.ruff]
...
lint.allowed-confusables = [ "×", "" ]
lint.flake8-type-checking.exempt-modules = []
lint.per-file-ignores."*/__init__.py" = [ "F401" ]
lint.per-file-ignores."docs/*" = [ "I" ]
lint.per-file-ignores."tests/*" = [ "D" ]
  • allowed-confusables is like tool.hatch.envs.*.features in that it always contains a short list of strings
  • lint.per-file-ignores.* too, those lists are always very short
  • I think empty lists should just be on one line always, it looks super weird to expand them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions