Skip to content

Commit

Permalink
fix: Whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
saattrupdan committed Jul 17, 2024
1 parent cadd2c1 commit 435af90
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions {{cookiecutter.project_name}}/.github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ jobs:
{% if cookiecutter.dependency_manager != 'pip' -%}
poetry env use {% raw %}"${{ matrix.python-version }}"{% endraw %}
poetry install
{% else -%}
{%- else -%}
python3 -m venv .venv
. .venv/bin/activate && pip install .[dev]
{% endif %}
{%- endif %}
- name: Test with pytest
{% if cookiecutter.dependency_manager != 'pip' -%}
run: poetry run pytest
{% else -%}
{%- else -%}
run: . .venv/bin/activate && python -m pytest
{% endif -%}
{%- endif %}
2 changes: 1 addition & 1 deletion {{cookiecutter.project_name}}/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ test: ## Run tests
docker: ## Build Docker image and run container
{% if cookiecutter.dependency_manager == 'pip' -%}
@$(MAKE) --quiet freeze
{%- endif %}
{% endif -%}
@docker build -t {{ cookiecutter.project_name }} .
@docker run -it --rm {{ cookiecutter.project_name }}

Expand Down

0 comments on commit 435af90

Please sign in to comment.