Instagram / Instagram/LibCST

Steal tests from retype for ApplyTypeAnnotationsVisitor

Open
#316 1 comment 0 reactions 0 assignees View on GitHub
codemod
Dominant language
Python
Stars
1.9k
Forks
229
PR merge metrics
No merged PRs in 30d

Description

(copy of https://github.com/Instagram/MonkeyType/issues/199, with context of fairly major regression fixed in https://github.com/Instagram/LibCST/pull/314 / https://github.com/Instagram/MonkeyType/issues/198)

Given the new importance of ApplyTypeAnnotationsVisitor to MonkeyType, we should try and improve test coverage of ApplyTypeAnnotationsVisitor. To that end, it might be worth stealing the test cases from https://github.com/ambv/retype/blob/master/tests/test_retype.py

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.