Instagram/Fixit

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

Open

#171 opened on 2021年1月15日

GitHub で見る
 (3 comments) (0 reactions) (0 assignees)Python (68 forks)auto 404
good first issuehelp wanted

Repository metrics

Stars
 (711 stars)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド