Instagram / Instagram/Fixit

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

Open
#171 3 comments 0 reactions 0 assignees View on GitHub
good first issue help wanted
Dominant language
Python
Stars
714
Forks
72
PR merge metrics
No merged PRs in 30d

Description

For example:

```python
from example.fixit_ex import ExampleClass as ExampleClass
```

Should be:

```python
from example.fixit_ex import ExampleClass
```

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.