diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 680fd14..4936062 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,5 +53,5 @@ jobs: with: stack-name: ${{ matrix.stack-name }} python-version: ${{ matrix.python-version }} - ref-zenml: ${{ inputs.ref-zenml || 'feature/OSSK-342-rename-model-version-to-a-model' }} + ref-zenml: ${{ inputs.ref-zenml || 'develop' }} ref-template: ${{ inputs.ref-template || github.ref }} diff --git a/.scripts/format.sh b/.scripts/format.sh index 8113e92..c0ff409 100755 --- a/.scripts/format.sh +++ b/.scripts/format.sh @@ -7,8 +7,8 @@ export ZENML_DEBUG=1 export ZENML_ANALYTICS_OPT_IN=false # autoflake replacement: removes unused imports and variables -ruff $SRC --select F401,F841 --fix --exclude "__init__.py" --isolated +ruff check $SRC --select F401,F841 --fix --exclude "__init__.py" --isolated # sorts imports -ruff $SRC --select I --fix --ignore D +ruff check $SRC --select I --fix --ignore D black $SRC diff --git a/copier.yml b/copier.yml index 2ffa021..607fedd 100644 --- a/copier.yml +++ b/copier.yml @@ -133,7 +133,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 %} @@ -142,7 +142,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 %}