diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0a9872771ff65a..2ee612d87c8b44 100755 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,7 @@ +exclude: | + (?x)^( + patches/.+ + )$ repos: - repo: https://github.com/Lucas-C/pre-commit-hooks.git rev: v1.1.14 diff --git a/paddle/fluid/distributed/ps/service/graph_brpc_server.cc b/paddle/fluid/distributed/ps/service/graph_brpc_server.cc index cee2d09cecc916..cd8979503e450a 100644 --- a/paddle/fluid/distributed/ps/service/graph_brpc_server.cc +++ b/paddle/fluid/distributed/ps/service/graph_brpc_server.cc @@ -35,6 +35,7 @@ namespace distributed { } int32_t GraphBrpcServer::Initialize() { + // do some change auto &service_config = _config.downpour_server_param().service_param(); if (!service_config.has_service_class()) { LOG(ERROR) << "miss service_class in ServerServiceParameter";