Instagram/Fixit

Add rule for fixing imports which use as with a no-op

Open

#171 创建于 2021年1月15日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)Python (68 fork)auto 404
good first issuehelp wanted

仓库指标

Star
 (711 star)
PR 合并指标
 (PR 指标待抓取)

描述

For example:

from example.fixit_ex import ExampleClass as ExampleClass

Should be:

from example.fixit_ex import ExampleClass

Because using as with the same resulting name is a no-operation action.

贡献者指南