38 lines
532 B
Lua
38 lines
532 B
Lua
return {
|
|
main = vim.trim([=[
|
|
def main() -> None:
|
|
print("Hello from %s!")
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|
|
]=]),
|
|
__init__ = vim.trim([=[
|
|
# %s init
|
|
|
|
__all__: list[str] = []
|
|
]=]),
|
|
pyproject = vim.trim([=[
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "%s"
|
|
version = "0.1.0"
|
|
description = "Project %s"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
dependencies = []
|
|
|
|
[project.scripts]
|
|
%s = "%s.main:main"
|
|
]=]),
|
|
module = vim.trim([=[
|
|
"""
|
|
Module: %s
|
|
"""
|
|
|
|
]=]),
|
|
}
|