Instagram/Fixit

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

Open

#171 aperta il 15 gen 2021

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)Python (68 fork)auto 404
good first issuehelp wanted

Metriche repository

Star
 (711 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor