Skip to content

Ignore B028 if skip_file_prefixes is used #497

@kasium

Description

@kasium

If a warnings.warn call contains no stacklevel but skip_file_prefixes is set, no issue should be raised, because if skip_file_prefixes is used, the author basically skips stack entries and also stacklevel has an implicit miniumum value of 2 automatically

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions