Skip to content

Commit b3aca8d

Browse files
committed
Fix java compilation & python lint errors
Signed-off-by: Tsotne Tabidze <tsotnet@gmail.com>
1 parent d6adf2e commit b3aca8d

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

core/src/main/java/feast/core/grpc/HealthServiceImpl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import io.grpc.health.v1.HealthGrpc.HealthImplBase;
2222
import io.grpc.health.v1.HealthProto.HealthCheckRequest;
2323
import io.grpc.health.v1.HealthProto.HealthCheckResponse;
24-
import io.grpc.health.v1.HealthProto.HealthCheckResponse.ServingStatus;
24+
import io.grpc.health.v1.HealthProto.ServingStatus;
2525
import io.grpc.stub.StreamObserver;
2626
import lombok.extern.slf4j.Slf4j;
2727
import net.devh.boot.grpc.server.service.GrpcService;

job-controller/src/main/java/feast/jobcontroller/grpc/HealthServiceImpl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import io.grpc.health.v1.HealthGrpc.HealthImplBase;
2323
import io.grpc.health.v1.HealthProto.HealthCheckRequest;
2424
import io.grpc.health.v1.HealthProto.HealthCheckResponse;
25-
import io.grpc.health.v1.HealthProto.HealthCheckResponse.ServingStatus;
25+
import io.grpc.health.v1.HealthProto.ServingStatus;
2626
import io.grpc.stub.StreamObserver;
2727
import lombok.extern.slf4j.Slf4j;
2828
import net.devh.boot.grpc.server.service.GrpcService;

sdk/python/pyproject.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ exclude = '''
2121
| serving
2222
| storage
2323
| types
24+
| third_party
2425
)/
2526
)
26-
'''
27+
'''

sdk/python/setup.cfg

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ include_trailing_comma=True
44
force_grid_wrap=0
55
use_parentheses=True
66
line_length=88
7-
skip=feast/types,feast/core,feast/serving,feast/storage
7+
skip=feast/types,feast/core,feast/serving,feast/storage,feast/third_party
88
known_first_party=feast,feast_serving_server,feast_core_server
99
default_section=THIRDPARTY
1010

@@ -13,8 +13,8 @@ ignore = E203, E266, E501, W503
1313
max-line-length = 88
1414
max-complexity = 20
1515
select = B,C,E,F,W,T4
16-
exclude = .git,__pycache__,docs/conf.py,dist,feast/core,feast/serving,feast/types,feast/storage
16+
exclude = .git,__pycache__,docs/conf.py,dist,feast/core,feast/serving,feast/types,feast/storage,feast/third_party
1717

1818
[mypy]
1919
files=feast,test
20-
ignore_missing_imports=true
20+
ignore_missing_imports=true

serving/src/main/java/feast/serving/controller/HealthServiceController.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import io.grpc.health.v1.HealthGrpc.HealthImplBase;
2525
import io.grpc.health.v1.HealthProto.HealthCheckRequest;
2626
import io.grpc.health.v1.HealthProto.HealthCheckResponse;
27-
import io.grpc.health.v1.HealthProto.HealthCheckResponse.ServingStatus;
27+
import io.grpc.health.v1.HealthProto.ServingStatus;
2828
import io.grpc.stub.StreamObserver;
2929
import net.devh.boot.grpc.server.service.GrpcService;
3030
import org.springframework.beans.factory.annotation.Autowired;

0 commit comments

Comments
 (0)