Skip to content

Exclude not workin pyproject.toml #104

@ronaldoapsilva

Description

@ronaldoapsilva

Hello,

I attempted to use the exclude option in pyproject.toml to prevent formatting on my file locators.py, but encountered an issue where it began formatting files within my virtual environment packages. Consequently, I included my virtual environment's directory name, .venv, to exclude it from formatting. However, it seems there's a typo in the configuration:

[tool.blue]
exclude = '''
/locators.py
/.venv/*
'''

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions