Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

pytest-black does not recognize all settings in pyproject.toml #9

@tobiasraabe

Description

@tobiasraabe

I have a pyproject.toml which includes the configuration of black. It seems that changing options like skip-string-normalization changes the test behaviour of pytest-black but keywords like include and exclude are not recognized. I assume that this behaviour is because pytest is responsible for file collection. Is it possible to make pytest aware of this additional configuration or do I have to duplicate the configuration from black and use the appropriate keywords in the pytest settings?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions