Skip to content

Doesn't work with import aliases #12

@edwinmarinn

Description

@edwinmarinn

If I use an import alias the plugin doesn't detect the unsafe datetime usage

Example

import datetime as dt

print(dt.datetime.now()) # This should be flagged as an unsafe usage

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