Skip to content

Blacken not finding pyproject.toml over TRAMP #51

@gsingh93

Description

@gsingh93

I'm working on a project that has this in the pyproject.toml:

[tool.black]
line-length = 100

black says that nothing needs to be reformatted:

$ black --check .
All done! ✨ 🍰 ✨
177 files would be left unchanged.

But when I have blacken-mode running, lines longer than 100 are reformatted on save. I have to set blacken-line-length to 100 to get the desired behavior. Why doesn't black use the configured line length when it's run through blacken-mode?

If it makes a difference, this is over TRAMP.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions