Skip to content

Commit 00dc943

Browse files
authored
Merge pull request #14 from zenml-io/strickvl-patch-1
Update format.sh
2 parents 2cf0733 + 5edf6a3 commit 00dc943

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,5 @@ jobs:
5353
with:
5454
stack-name: ${{ matrix.stack-name }}
5555
python-version: ${{ matrix.python-version }}
56-
ref-zenml: ${{ inputs.ref-zenml || 'feature/OSSK-342-rename-model-version-to-a-model' }}
56+
ref-zenml: ${{ inputs.ref-zenml || 'develop' }}
5757
ref-template: ${{ inputs.ref-template || github.ref }}

.scripts/format.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ export ZENML_DEBUG=1
77
export ZENML_ANALYTICS_OPT_IN=false
88

99
# autoflake replacement: removes unused imports and variables
10-
ruff $SRC --select F401,F841 --fix --exclude "__init__.py" --isolated
10+
ruff check $SRC --select F401,F841 --fix --exclude "__init__.py" --isolated
1111

1212
# sorts imports
13-
ruff $SRC --select I --fix --ignore D
13+
ruff check $SRC --select I --fix --ignore D
1414
black $SRC

copier.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ _tasks:
133133
{% if _copier_conf.os == 'windows' %}
134134
echo "Auto-formatting not supported on Windows"
135135
{% else %}
136-
{{ _copier_python }} -m ruff --select F401,F841 --fix \
136+
{{ _copier_python }} -m ruff check --select F401,F841 --fix \
137137
--exclude "__init__.py" --isolated \
138138
steps pipelines run.py > /dev/null 2>&1 || true
139139
{% endif %}
@@ -142,7 +142,7 @@ _tasks:
142142
{% if _copier_conf.os == 'windows' %}
143143
echo "Auto-formatting not supported on Windows"
144144
{% else %}
145-
{{ _copier_python }} -m ruff --select I \
145+
{{ _copier_python }} -m ruff check --select I \
146146
--fix --ignore D \
147147
steps pipelines run.py > /dev/null 2>&1 || true
148148
{% endif %}

0 commit comments

Comments
 (0)