Instagram / Instagram/Fixit

fixit upgrade makes incomplete fix, second run results in metadata error

Open
#406 1 comment 0 reactions 1 assignee Claimed by @amyreese View on GitHub
bug
Dominant language
Python
Stars
714
Forks
72
PR merge metrics
No merged PRs in 30d

Description

```
from fixit import CstLintRule

class FooRule(CstLintRule):
...
```

```
Traceback (most recent call last):
File ../fixit/upgrade/remove_rule_suffix.py", line 58, in visit_ClassDef
qname = metadata.pop().name
KeyError: 'pop from an empty set'
```

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.