refactor template
This commit is contained in:
@@ -29,11 +29,14 @@ def main():
|
||||
run_command(["git", "init"], "git init")
|
||||
|
||||
# Sync dependencies with uv
|
||||
run_command(["uv", "sync"], "uv sync")
|
||||
run_command(["uv", "sync", "--group", "dev"], "uv sync --group dev")
|
||||
|
||||
# Run initial formatting and linting
|
||||
run_command(["uv", "run", "ruff", "format", "src"], "ruff format")
|
||||
run_command(["uv", "run", "ruff", "check", "--fix", "src"], "ruff check --fix")
|
||||
run_command(["uv", "run", "ruff", "format", "src", "tests"], "ruff format")
|
||||
run_command(
|
||||
["uv", "run", "ruff", "check", "--fix", "src", "tests"],
|
||||
"ruff check --fix",
|
||||
)
|
||||
|
||||
# Run type checking
|
||||
try:
|
||||
@@ -52,10 +55,10 @@ def main():
|
||||
print("Next steps:")
|
||||
print("1. Review and customize the generated files")
|
||||
print("2. Add your actual dependencies to pyproject.toml")
|
||||
print("3. Implement your library functionality in src/")
|
||||
print("3. Implement your core logic in src/")
|
||||
print("4. Update tests as needed")
|
||||
print("5. Update README.md with proper documentation")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user