fixit upgrade makes incomplete fix, second run results in metadata error
Open
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
Assessment
This issue has not been assessed yet.