[Mod] rename hint.py into hint.py.in

python的template容易让linter报错,设置来设置去太麻烦,就改名吧.
This commit is contained in:
nanoric 2019-01-24 05:04:40 -04:00
parent f9fd309098
commit 4c16a6fd5f
2 changed files with 1 additions and 1 deletions

View File

@ -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
) )