File: add_type_hints.xonsh

package info (click to toggle)
meep-openmpi 1.25.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 64,556 kB
  • sloc: cpp: 32,214; python: 27,958; lisp: 1,225; makefile: 505; 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)