fix: correct pyproject.toml for project-scaffold-cli
- Fixed package name from auto-readme-cli to project-scaffold-cli - Fixed dependencies to match project-scaffold-cli requirements - Fixed linting import sorting issues in test files
This commit is contained in:
@@ -0,0 +1 @@
|
||||
{{ project_slug }}
|
||||
@@ -0,0 +1,13 @@
|
||||
"""Main CLI entry point."""
|
||||
|
||||
import click
|
||||
|
||||
|
||||
@click.command()
|
||||
def main():
|
||||
"""Main entry point for {{ project_name }}."""
|
||||
click.echo("Welcome to {{ project_name }}!")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,15 @@
|
||||
"""Test module for {{ project_name }}."""
|
||||
|
||||
import pytest
|
||||
|
||||
from {{ project_slug }} import __version__
|
||||
|
||||
|
||||
def test_version():
|
||||
"""Test version is a string."""
|
||||
assert isinstance(__version__, str)
|
||||
|
||||
|
||||
def test_example():
|
||||
"""Example test."""
|
||||
assert True
|
||||
Reference in New Issue
Block a user