danb27 / python-package-template

1 stars 0 forks source link

turn the repository into a cookiecutter template #1

Closed danb27 closed 7 months ago

danb27 commented 7 months ago

The repository is an example python package. Turn it into a cookiecutter template.

sweep-ai[bot] commented 7 months ago

🚀 Here's the PR! #3

See Sweep's progress at the progress dashboard!
💎 Sweep Pro: I'm using GPT-4. You have unlimited GPT-4 tickets. (tracking ID: d32177867b)
Install Sweep Configs: Pull Request

[!TIP] I can email you next time I complete a pull request if you set up your email here!


Actions (click)


Step 1: 🔎 Searching

I found the following snippets in your repository. I will now analyze these snippets and come up with a plan.

Some code snippets I think are relevant in decreasing order of relevance (click to expand). If some file is missing from here, you can mention the path in the ticket description. https://github.com/danb27/example-package/blob/8403a9a6bbdf2e5fc789fc963ae4741d103a6810/pyproject.toml#L1-L122 https://github.com/danb27/example-package/blob/8403a9a6bbdf2e5fc789fc963ae4741d103a6810/tests/test_foo.py#L1-L4

Step 2: ⌨️ Coding

Ran GitHub Actions for 23750a1403de9ef876625d9102be88c20b705e81:
• pytest-precommit-workflow / tests (3.12):
• pytest-precommit-workflow / tests (3.11):

--- 
+++ 
@@ -1,12 +1,12 @@
 [tool.poetry]
-name = "example-package"
-version = "0.1.0"
-description = "example_description"
-authors = ["dan "]
+name = "{{cookiecutter.package_name}}"
+version = "{{cookiecutter.version}}"
+description = "{{cookiecutter.description}}"
+authors = ["{{cookiecutter.author_name}} <{{cookiecutter.author_email}}>"]
 readme = "README.md"

 [tool.poetry.dependencies]
-python = "^3.11"
+python = "^{{cookiecutter.python_version}}"

 [tool.poetry.group.test.dependencies]
 pytest = "^8.1.1"

Ran GitHub Actions for 4538d928e24ad1dffa8e52e20aa26584db764aa3:
• pytest-precommit-workflow / tests (3.12):
• pytest-precommit-workflow / tests (3.11):


Step 3: 🔁 Code Review

I have finished reviewing the code for completeness. I did not find errors for sweep/turn_the_repository_into_a_cookiecutter.


🎉 Latest improvements to Sweep:
  • New dashboard launched for real-time tracking of Sweep issues, covering all stages from search to coding.
  • Integration of OpenAI's latest Assistant API for more efficient and reliable code planning and editing, improving speed by 3x.
  • Use the GitHub issues extension for creating Sweep issues directly from your editor.

💡 To recreate the pull request edit the issue title or description. Something wrong? Let us know.

This is an automated message generated by Sweep AI.