generate type stubs which are sufficiently self-consistent to run mypy on all the examples
This commit is contained in:
parent
6441bca77c
commit
0069436610
4 changed files with 54 additions and 19 deletions
|
@ -42,14 +42,13 @@ python3 create_enums.py > dynamic/raylib/enums.py
|
|||
|
||||
echo "creating defines.py"
|
||||
|
||||
python3 create_define_consts.py > raylib/defines.py
|
||||
python3 create_define_consts.py > dynamic/raylib/defines.py
|
||||
python3 create_define_consts.py | awk '!seen[$0]++' > raylib/defines.py
|
||||
python3 create_define_consts.py | awk '!seen[$0]++' > dynamic/raylib/defines.py
|
||||
|
||||
|
||||
echo "creating pyi files"
|
||||
|
||||
python3 create_stub_pyray.py > pyray/__init__.pyi
|
||||
python3 create_enums.py >> pyray/__init__.pyi
|
||||
|
||||
python3 create_stub_static.py >raylib/__init__.pyi
|
||||
|
||||
|
|
Reference in a new issue