Change format

pull/19825/head
Lidi Zheng 5 years ago
parent f20171f28b
commit a0ba0b1ff2
  1. 4
      tools/run_tests/sanity/check_bazel_workspace.py

@ -132,7 +132,7 @@ build_rules = {
'load': lambda a, b: None, 'load': lambda a, b: None,
'git_repository': lambda **args: eval_state.git_repository(**args), 'git_repository': lambda **args: eval_state.git_repository(**args),
} }
exec(bazel_file in build_rules) exec (bazel_file) in build_rules
for name in _GRPC_DEP_NAMES: for name in _GRPC_DEP_NAMES:
assert name in names_and_urls.keys() assert name in names_and_urls.keys()
assert len(_GRPC_DEP_NAMES) == len(names_and_urls.keys()) assert len(_GRPC_DEP_NAMES) == len(names_and_urls.keys())
@ -174,7 +174,7 @@ for name in _GRPC_DEP_NAMES:
'load': lambda a, b: None, 'load': lambda a, b: None,
'git_repository': lambda **args: state.git_repository(**args), 'git_repository': lambda **args: state.git_repository(**args),
} }
exec(bazel_file in rules) exec (bazel_file) in rules
assert name not in names_and_urls_with_overridden_name.keys() assert name not in names_and_urls_with_overridden_name.keys()
sys.exit(0) sys.exit(0)

Loading…
Cancel
Save