Skip to content

Document lint.flake8-import-conventions.extend-aliases as being able to somewhat revert a default alias / enforce non-aliased #17097

@Avasam

Description

@Avasam

Summary

lint.flake8-import-conventions.extend-aliases can be used to "undo" default aliases one doesn't want from lint.flake8-import-conventions.extend-aliases.

I didn't initially think about this as it wasn't documented, until someone else brought the idea.
See how that improves configuration
Image

I think that also now forces to use the non-aliased version, so it's not truly "removing" it. But it still promotes consistency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    configurationRelated to settings and configurationdocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions