Skip to content

Commit

Permalink
fix: errors found in troubleshooting the calcipy test_project
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleKing committed Jun 5, 2021
1 parent 96208b0 commit d5a1227
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion copier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ _tasks:
- git init
- python _copier_post_generation.py
_migrations:
- version: 0.0.9
# Note: this is only run if installing the specific version
- version: 0.0.11
before:
- "rm {{ package_name_py }}/__init__.py"
- "rm -rf {{ doc_dir }}"
- "[[ -f .isort.cfg ]] && rm isort.cfg"
- rm pyproject.toml

# ====== QUESTIONS ======
Expand Down
8 changes: 4 additions & 4 deletions package_template/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
from pathlib import Path

import pytest
from calcipy.conftest import pytest_configure # noqa: F401
from calcipy.conftest import pytest_html_results_table_header # noqa: F401
from calcipy.conftest import pytest_html_results_table_row # noqa: F401
from calcipy.conftest import pytest_runtest_makereport # noqa: F401
from calcipy.dev.conftest import pytest_configure # noqa: F401
from calcipy.dev.conftest import pytest_html_results_table_header # noqa: F401
from calcipy.dev.conftest import pytest_html_results_table_row # noqa: F401
from calcipy.dev.conftest import pytest_runtest_makereport # noqa: F401

from .configuration import TEST_TMP_CACHE, clear_test_cache

Expand Down

0 comments on commit d5a1227

Please sign in to comment.