Skip to content

Exhaustive pyproject.toml example config section in the documentation #2487

@antoniouaa

Description

@antoniouaa

I've been finding the need to use --experimental-string-processing for a couple of projects recently. Typing it out in the console every time is cumbersome and other people in my team might struggle to understand what the flag does, where its location in a command is, etc.

It'd be nice to be able to specify this flag in the pyproject.toml file used in the project.
The issue is that the example pyproject.toml file in the documentation does not cover how I'd use this flag, in fact there's a couple of flags black uses missing from there.

I opened this issue to ask for an exhaustive pyproject.toml example config file so we don't have to employ guesswork into how black treats flags in the tool.black section.

I asked in PyDis and was directed to open this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T: documentationImprovements to the docs (e.g. new topic, correction, etc)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions