Skip to content

Fix issue #1: Create a hello world python application using poetry #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

snipr-ada
Copy link

This pull request fixes #1.

The issue has been successfully resolved. The changes include:

  1. Creation of a new Poetry project with a pyproject.toml file, which defines the project metadata and dependencies.
  2. Implementation of a "Hello World" function in hello_world/__init__.py, which prints "Hello, World!" when called.
  3. Addition of a test in tests/test_hello.py to verify the functionality of the "Hello World" function by capturing and asserting the output.
  4. Generation of a poetry.lock file to lock the dependencies, ensuring consistent builds.
  5. Creation of an empty README.md and tests/__init__.py files to complete the project structure.

These changes collectively address the issue by setting up a Python application using Poetry, implementing the required functionality, and verifying it through tests. The test has been designed to ensure the "Hello World" function works as expected, and the project structure is consistent with Poetry's conventions.

Automatic fix generated by OpenHands 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create a hello world python application using poetry
2 participants