diff --git a/cookiecutter/tap-template/{{cookiecutter.tap_id}}/README.md b/cookiecutter/tap-template/{{cookiecutter.tap_id}}/README.md index 37c94d0fd..0454d048c 100644 --- a/cookiecutter/tap-template/{{cookiecutter.tap_id}}/README.md +++ b/cookiecutter/tap-template/{{cookiecutter.tap_id}}/README.md @@ -82,7 +82,7 @@ poetry install ### Create and Run Tests -Create tests within the `{{ cookiecutter.library_name }}/tests` subfolder and +Create tests within the `tests` subfolder and then run: ```bash diff --git a/cookiecutter/tap-template/{{cookiecutter.tap_id}}/tox.ini b/cookiecutter/tap-template/{{cookiecutter.tap_id}}/tox.ini index f18c3fc23..51b8fb921 100644 --- a/cookiecutter/tap-template/{{cookiecutter.tap_id}}/tox.ini +++ b/cookiecutter/tap-template/{{cookiecutter.tap_id}}/tox.ini @@ -39,7 +39,7 @@ commands = poetry run isort --check {{cookiecutter.library_name}} poetry run flake8 {{cookiecutter.library_name}} # refer to mypy.ini for specific settings - poetry run mypy {{cookiecutter.library_name}} --exclude='{{cookiecutter.library_name}}/tests' + poetry run mypy . --exclude='tests' [flake8] docstring-convention = google diff --git a/cookiecutter/target-template/{{cookiecutter.target_id}}/README.md b/cookiecutter/target-template/{{cookiecutter.target_id}}/README.md index 50bdf5b8b..1374cc1df 100644 --- a/cookiecutter/target-template/{{cookiecutter.target_id}}/README.md +++ b/cookiecutter/target-template/{{cookiecutter.target_id}}/README.md @@ -83,7 +83,7 @@ poetry install ### Create and Run Tests -Create tests within the `{{ cookiecutter.library_name }}/tests` subfolder and +Create tests within the `tests` subfolder and then run: ```bash diff --git a/cookiecutter/target-template/{{cookiecutter.target_id}}/tox.ini b/cookiecutter/target-template/{{cookiecutter.target_id}}/tox.ini index 527d13bfe..9b81ad325 100644 --- a/cookiecutter/target-template/{{cookiecutter.target_id}}/tox.ini +++ b/cookiecutter/target-template/{{cookiecutter.target_id}}/tox.ini @@ -13,7 +13,7 @@ commands = poetry run pytest poetry run black --check {{cookiecutter.library_name}}/ poetry run flake8 {{cookiecutter.library_name}} - poetry run mypy {{cookiecutter.library_name}} --exclude='{{cookiecutter.library_name}}/tests' + poetry run mypy . --exclude='tests' [testenv:pytest] # Run the python tests.