Skip to content

Commit c01d410

Browse files
authored
Merge pull request #113 from CoReason-AI/tempdevelop
Tempdevelop
2 parents 8b1b786 + 96fe7b2 commit c01d410

7 files changed

Lines changed: 5 additions & 33 deletions

File tree

{{cookiecutter.project_slug}}/.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ jobs:
2929
run: uv sync --all-extras --dev
3030
shell: bash
3131
- name: Run pre-commit
32-
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd
32+
run: uv run pre-commit run --all-files
33+
shell: bash
3334

3435
test-ubuntu:
3536
needs: [lint-and-audit]
@@ -115,5 +116,4 @@ jobs:
115116
shell: bash
116117
- name: Verify SHA256
117118
run: sha256sum dist/*.whl
118-
shell: bash
119-
{% endraw %}
119+
shell: bash{% endraw %}

{{cookiecutter.project_slug}}/.github/workflows/publish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,4 @@ jobs:
6464
steps:
6565
- name: Deploy to GitHub Pages
6666
id: deployment
67-
uses: actions/deploy-pages@v4
68-
{% endraw %}
67+
uses: actions/deploy-pages@v4{% endraw %}

{{cookiecutter.project_slug}}/.github/workflows/security.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,4 @@ jobs:
2828
- name: Run pip-audit
2929
uses: pypa/gh-action-pip-audit@v1.1.0
3030
with:
31-
inputs: requirements.txt
32-
{% endraw %}
31+
inputs: requirements.txt{% endraw %}

{{cookiecutter.project_slug}}/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,4 +140,3 @@ cython_debug/
140140

141141
# Runtime Logs
142142
logs/
143-

{{cookiecutter.project_slug}}/AGENTS.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,4 +220,3 @@ STOP and ASK the user before:
220220
* Deleting any file outside of src/ or tests/.
221221
* Adding a dependency that requires OS-level libraries (e.g., libpq-dev).
222222
* Committing any secrets or API keys (even for testing).
223-

{{cookiecutter.project_slug}}/tests/test_main.py

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,7 @@
99
# Source Code: https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }}
1010

1111
from {{ cookiecutter.project_slug }}.main import hello_world
12-
import pytest
13-
from hypothesis import given, strategies as st
14-
import re
1512

1613

1714
def test_hello_world() -> None:
1815
assert hello_world() == "Hello World!"
19-
20-
21-
@pytest.mark.asyncio
22-
async def test_hello_world_async_structure() -> None:
23-
# Example placeholder for an async structural test
24-
assert hello_world() == "Hello World!"
25-
26-
27-
@given(st.text())
28-
def test_hello_world_hypothesis(sample_text: str) -> None:
29-
# Example property-based test setup using hypothesis
30-
assert isinstance(hello_world(), str)
31-
32-
33-
def test_module_naming_convention() -> None:
34-
"""Ensure strict snake_case module naming convention."""
35-
module_name = "{{ cookiecutter.project_slug }}"
36-
pattern = r"^[_a-zA-Z][_a-zA-Z0-9]+$"
37-
assert re.match(pattern, module_name), f"Module name '{module_name}' violates snake_case convention."

{{cookiecutter.project_slug}}/tests/test_utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
# Source Code: https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }}
1010

1111
from pathlib import Path
12-
import re
13-
import pytest
1412

1513
from {{ cookiecutter.project_slug }}.utils.logger import logger
1614

0 commit comments

Comments
 (0)