diff --git a/python-project-template/.github/workflows/code_style.yml.jinja b/python-project-template/.github/workflows/code_style.yml.jinja index d01eee4e..8c917443 100644 --- a/python-project-template/.github/workflows/code_style.yml.jinja +++ b/python-project-template/.github/workflows/code_style.yml.jinja @@ -33,11 +33,11 @@ jobs: pip install . pip install .[dev] if [ -f requirements.txt ]; then pip install -r requirements.txt; fi -{%- if mypy_type_checking == 'basic' -%} +{%- if mypy_type_checking == 'basic' %} - name: Analyze code with mypy run: | mypy ./src ./tests --ignore-missing-imports -{%- elif mypy_type_checking == 'strict' -%} +{%- elif mypy_type_checking == 'strict' %} - name: Analyze code with mypy run: | mypy ./src ./tests --strict @@ -58,6 +58,7 @@ jobs: {%- endif -%} {%- if 'ruff' in enforce_style %} - name: Analyze code with ruff + run: | ruff format --check ruff check {%- endif -%} \ No newline at end of file