Skip to content

Commit

Permalink
Add more correctness to code style workflow (#385)
Browse files Browse the repository at this point in the history
  • Loading branch information
delucchi-cmu authored Feb 5, 2024
1 parent b28c3f3 commit c93fdca
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -58,6 +58,7 @@ jobs:
{%- endif -%}
{%- if 'ruff' in enforce_style %}
- name: Analyze code with ruff
run: |
ruff format --check
ruff check
{%- endif -%}

0 comments on commit c93fdca

Please sign in to comment.