mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Revert "add arg hints to schedulers"
This reverts commit a02d203604
.
no longer needed
This commit is contained in:
parent
c1587254f4
commit
94a81230f6
2 changed files with 0 additions and 16 deletions
|
@ -1,7 +0,0 @@
|
||||||
Gather data via unit tests:
|
|
||||||
|
|
||||||
$ monkeytype run -m nose
|
|
||||||
|
|
||||||
Then apply types to a file:
|
|
||||||
|
|
||||||
$ monkeytype apply anki.sched
|
|
|
@ -1,9 +0,0 @@
|
||||||
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()
|
|
Loading…
Reference in a new issue