File: add_type_hints.xonsh

package info (click to toggle)
meep-mpi-default 1.29.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 79,148 kB
  • sloc: cpp: 32,541; python: 31,061; lisp: 1,225; makefile: 516; sh: 249; ansic: 131; javascript: 5
file content (11 lines) | stat: -rw-r--r-- 274 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env python
from tqdm.auto import tqdm


py.test --monkeytype-output=./monkeytype.sqlite3

for i, m in enumerate(tqdm($(monkeytype list-modules).split('\n'))):
    if m.startswith(''):
        print(i, m)
        monkeytype stub @(m)
        monkeytype apply @(m)