mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
9 lines
275 B
Python
9 lines
275 B
Python
from monkeytype.config import DefaultConfig
|
|
from monkeytype.typing import *
|
|
|
|
class MyConfig(DefaultConfig):
|
|
def type_rewriter(self):
|
|
rws = (RemoveEmptyContainers(),RewriteConfigDict(),RewriteLargeUnion(2))
|
|
return ChainedRewriter(rws)
|
|
|
|
CONFIG = MyConfig()
|