Skip to content

Commit 38b69dd

Browse files
chore: eliminate trivial whitespace drift from upstream (#1398)
Restores formatting in files that diverged from upstream kserve/kserve through incidental edits - blank lines in import blocks, trailing spaces, docstring indentation, and missing end-of-file newlines. None of these differences carry functional intent. Aligning them with upstream reduces noise in future syncs and makes intentional ODH-specific changes easier to identify at a glance. Signed-off-by: Bartosz Majsak <bartosz.majsak@gmail.com>
1 parent 94b5e69 commit 38b69dd

9 files changed

Lines changed: 18 additions & 20 deletions

File tree

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,4 +211,4 @@ jobs:
211211
with:
212212
name: master-coverage.out
213213
path: master-coverage.out
214-
if-no-files-found: error
214+
if-no-files-found: error

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,16 @@ Single platform that unifies Generative and Predictive AI inference on Kubernete
4040
* 💰 **Cost Efficient**: Scale-to-zero on expensive resources when not in use, reducing infrastructure costs
4141

4242
### Learn More
43-
To learn more about KServe, how to use various supported features, and how to participate in the KServe community,
44-
please follow the [KServe website documentation](https://kserve.github.io/website).
43+
To learn more about KServe, how to use various supported features, and how to participate in the KServe community,
44+
please follow the [KServe website documentation](https://kserve.github.io/website).
4545
Additionally, we have compiled a list of [presentations and demos](https://kserve.github.io/website/docs/community/presentations) to dive through various details.
4646

4747
### :hammer_and_wrench: Installation
4848

4949
#### Standalone Installation
5050
- **[Standard Kubernetes Installation](https://kserve.github.io/website/docs/admin-guide/overview#raw-kubernetes-deployment)**: Compared to Serverless Installation, this is a more **lightweight** installation. However, this option does not support canary deployment and request based autoscaling with scale-to-zero.
5151
- **[Knative Installation](https://kserve.github.io/website/docs/admin-guide/overview#serverless-deployment)**: KServe by default installs Knative for **serverless deployment** for InferenceService.
52-
- **[ModelMesh Installation](https://kserve.github.io/website/docs/admin-guide/overview#modelmesh-deployment)**: You can optionally install ModelMesh to enable **high-scale**, **high-density** and **frequently-changing model serving** use cases.
52+
- **[ModelMesh Installation](https://kserve.github.io/website/docs/admin-guide/overview#modelmesh-deployment)**: You can optionally install ModelMesh to enable **high-scale**, **high-density** and **frequently-changing model serving** use cases.
5353
- **[Quick Installation](https://kserve.github.io/website/docs/getting-started/quickstart-guide)**: Install KServe on your local machine.
5454

5555
#### Kubeflow Installation

cmd/agent/main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,6 @@ func buildProbe(logger *zap.SugaredLogger, probeJSON string, autodetectHTTP2 boo
400400
probe.InitialDelaySeconds = 10
401401
}
402402
}
403-
404403
if autodetectHTTP2 {
405404
return readiness.NewProbeWithHTTP2AutoDetection(coreProbes)
406405
}

pkg/controller/v1alpha1/inferencegraph/suite_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import (
2626
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2727
"k8s.io/client-go/kubernetes"
2828
"k8s.io/client-go/rest"
29-
3029
ctrl "sigs.k8s.io/controller-runtime"
3130
"sigs.k8s.io/controller-runtime/pkg/client"
3231

pkg/controller/v1beta1/inferenceservice/reconcilers/knative/ksvc_reconciler.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ import (
2020
"context"
2121
"strings"
2222

23-
"github.com/kserve/kserve/pkg/apis/serving/v1beta1"
24-
"github.com/kserve/kserve/pkg/constants"
25-
knutils "github.com/kserve/kserve/pkg/controller/v1alpha1/utils"
26-
"github.com/kserve/kserve/pkg/utils"
27-
2823
"github.com/pkg/errors"
2924
"google.golang.org/protobuf/proto"
3025
corev1 "k8s.io/api/core/v1"
@@ -41,8 +36,12 @@ import (
4136
logf "sigs.k8s.io/controller-runtime/pkg/log"
4237

4338
"github.com/kserve/kserve/pkg/apis/serving/v1alpha1"
39+
"github.com/kserve/kserve/pkg/apis/serving/v1beta1"
40+
"github.com/kserve/kserve/pkg/constants"
41+
knutils "github.com/kserve/kserve/pkg/controller/v1alpha1/utils"
4442
"github.com/kserve/kserve/pkg/credentials"
4543
kserveTypes "github.com/kserve/kserve/pkg/types"
44+
"github.com/kserve/kserve/pkg/utils"
4645
"github.com/kserve/kserve/pkg/webhook/admission/pod"
4746
)
4847

pkg/controller/v1beta1/inferenceservice/suite_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ import (
2727
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2828
"k8s.io/client-go/kubernetes"
2929
"k8s.io/client-go/rest"
30-
3130
ctrl "sigs.k8s.io/controller-runtime"
3231
"sigs.k8s.io/controller-runtime/pkg/client"
3332

@@ -47,6 +46,7 @@ var (
4746

4847
func TestV1beta1APIs(t *testing.T) {
4948
RegisterFailHandler(Fail)
49+
5050
RunSpecs(t, "v1beta1 Controller Suite")
5151
}
5252

python/kserve/test/test_v1beta1_external_metrics.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
# coding: utf-8
1616

1717
"""
18-
KServe
18+
KServe
1919
20-
Python SDK for KServe # noqa: E501
20+
Python SDK for KServe # noqa: E501
2121
22-
The version of the OpenAPI document: v0.1
23-
Generated by: https://openapi-generator.tech
22+
The version of the OpenAPI document: v0.1
23+
Generated by: https://openapi-generator.tech
2424
"""
2525

2626

python/kserve/test/test_v1beta1_pod_metrics.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
# coding: utf-8
1616

1717
"""
18-
KServe
18+
KServe
1919
20-
Python SDK for KServe # noqa: E501
20+
Python SDK for KServe # noqa: E501
2121
22-
The version of the OpenAPI document: v0.1
23-
Generated by: https://openapi-generator.tech
22+
The version of the OpenAPI document: v0.1
23+
Generated by: https://openapi-generator.tech
2424
"""
2525

2626

test/scripts/gh-actions/setup-uv.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,4 @@ fi
3434
echo "Creating virtual environment..."
3535
uv venv --clear
3636
source .venv/bin/activate
37+

0 commit comments

Comments
 (0)