[Mod] rename hint.py into hint.py.in
python的template容易让linter报错,设置来设置去太麻烦,就改名吧.
This commit is contained in:
parent
f9fd309098
commit
4c16a6fd5f
@ -207,7 +207,7 @@ class Generator:
|
|||||||
hint_code += enum_code
|
hint_code += enum_code
|
||||||
|
|
||||||
self._save_template(
|
self._save_template(
|
||||||
template_filename="hint.py",
|
template_filename="hint.py.in",
|
||||||
output_filename=f"{self.options.module_name}.pyi",
|
output_filename=f"{self.options.module_name}.pyi",
|
||||||
hint_code=hint_code
|
hint_code=hint_code
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user