Skip to content

Commit

Permalink
Update copier.yml
Browse files Browse the repository at this point in the history
As per ruff changes.
  • Loading branch information
strickvl committed Mar 1, 2024
1 parent a2e9bc5 commit da2cb26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions copier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ _tasks:
{% if _copier_conf.os == 'windows' %}
echo "Auto-formatting not supported on Windows"
{% else %}
{{ _copier_python }} -m ruff --select F401,F841 --fix \
{{ _copier_python }} -m ruff check --select F401,F841 --fix \
--exclude "__init__.py" --isolated \
steps pipelines run.py > /dev/null 2>&1 || true
{% endif %}
Expand All @@ -106,7 +106,7 @@ _tasks:
{% if _copier_conf.os == 'windows' %}
echo "Auto-formatting not supported on Windows"
{% else %}
{{ _copier_python }} -m ruff --select I \
{{ _copier_python }} -m ruff check --select I \
--fix --ignore D \
steps pipelines run.py > /dev/null 2>&1 || true
{% endif %}
Expand Down

0 comments on commit da2cb26

Please sign in to comment.