Skip to content

Commit

Permalink
Add newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
nlopezgi committed Nov 14, 2024
1 parent 0060f19 commit a8ddc3e
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 13 deletions.
1 change: 0 additions & 1 deletion buck2/python/.buckconfig
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,3 @@ http_headers = x-engflow-auth-method:jwt-v0,x-engflow-auth-token:LONG_JW

[project]
ignore = .git

2 changes: 1 addition & 1 deletion buck2/python/hello/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ python_test(
srcs = ["hello_unittest_test.py"],
deps = [":hellolib"],
remote_execution_action_key_providers = "//platforms:remote_execution_action_keys",
)
)
2 changes: 1 addition & 1 deletion buck2/python/hello/hello.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ def hello():

def goodbye():
print("goodbye called", file=sys.stderr)
return "Goodbye"
return "Goodbye"
2 changes: 1 addition & 1 deletion buck2/python/hello/hello_unittest_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ def test_goodbye(self):


if __name__ == "__main__":
unittest.main()
unittest.main()
2 changes: 1 addition & 1 deletion buck2/python/hello/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ def main():


if __name__ == "__main__":
main()
main()
2 changes: 1 addition & 1 deletion buck2/python/library/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ python_library(
srcs = ["print.py"],
base_module = "printlib",
visibility = ["PUBLIC"],
)
)
2 changes: 1 addition & 1 deletion buck2/python/library/print.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# limitations under the License.

def print_string(string):
print(string)
print(string)
2 changes: 1 addition & 1 deletion buck2/python/main/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ assert_output(
name = "check_main",
command = "$(exe_target :main)",
output = "hello world from python toolchain",
)
)
2 changes: 1 addition & 1 deletion buck2/python/main/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@

from printlib.print import print_string

print_string("hello world from python toolchain")
print_string("hello world from python toolchain")
2 changes: 1 addition & 1 deletion buck2/python/platforms/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ action_keys(
cell = "standard",
mode = "standard",
visibility = ["PUBLIC"],
)
)
2 changes: 1 addition & 1 deletion buck2/python/platforms/defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ action_keys = rule(
"mode": attrs.string(),
},
impl = _action_keys
)
)
2 changes: 1 addition & 1 deletion buck2/python/test_utils.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ def assert_output(name, command, output):
bash = command + " | grep \"" + output + "\" && touch \"$OUT\"",
cmd_exe = command + " | findstr \"" + output + "\" && type nul > \"$OUT\"",
out = "out.txt",
)
)
2 changes: 1 addition & 1 deletion buck2/python/toolchains/defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ remote_python_toolchain = rule(

},
is_toolchain_rule = True,
)
)

0 comments on commit a8ddc3e

Please sign in to comment.