Script Reference
scripts.stubs
Usage: stubs.py <path to project directory>
stubs(dir: Path)
Collect library stubs and symlink, then ignore missing import errors.
This should be run after adding any library stubs e.g types-requests
.
To work around this issue.
Original code by pawamoy
:
https://github.com/python/mypy/issues/10633#issuecomment-974840203
and extended by jaynewey
.
Source code in scripts/stubs.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
|
scripts.fetch_charm
Usage: fetch_charm.py <path to assets folder>
fetch_charm(dir: Path)
Fetches all Charm icons and puts in specified folder.
Fetches from latest GitHub release.
See Charm Icons.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
dir |
Path
|
The directory to store the icons in. Will store at '{dir}/charm/'. |
required |
Source code in scripts/fetch_charm.py
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
|