From a8ddc3e26f8f644e578271375e283fbe2e3492bd Mon Sep 17 00:00:00 2001 From: Nicolas Lopez Date: Thu, 14 Nov 2024 16:55:08 -0500 Subject: [PATCH] Add newlines --- buck2/python/.buckconfig | 1 - buck2/python/hello/BUCK | 2 +- buck2/python/hello/hello.py | 2 +- buck2/python/hello/hello_unittest_test.py | 2 +- buck2/python/hello/main.py | 2 +- buck2/python/library/BUCK | 2 +- buck2/python/library/print.py | 2 +- buck2/python/main/BUCK | 2 +- buck2/python/main/main.py | 2 +- buck2/python/platforms/BUCK | 2 +- buck2/python/platforms/defs.bzl | 2 +- buck2/python/test_utils.bzl | 2 +- buck2/python/toolchains/defs.bzl | 2 +- 13 files changed, 12 insertions(+), 13 deletions(-) diff --git a/buck2/python/.buckconfig b/buck2/python/.buckconfig index 31fae9de..260c1f66 100644 --- a/buck2/python/.buckconfig +++ b/buck2/python/.buckconfig @@ -30,4 +30,3 @@ http_headers = x-engflow-auth-method:jwt-v0,x-engflow-auth-token:LONG_JW [project] ignore = .git - \ No newline at end of file diff --git a/buck2/python/hello/BUCK b/buck2/python/hello/BUCK index a6b31c22..77655db3 100644 --- a/buck2/python/hello/BUCK +++ b/buck2/python/hello/BUCK @@ -31,4 +31,4 @@ python_test( srcs = ["hello_unittest_test.py"], deps = [":hellolib"], remote_execution_action_key_providers = "//platforms:remote_execution_action_keys", -) \ No newline at end of file +) diff --git a/buck2/python/hello/hello.py b/buck2/python/hello/hello.py index db4873b5..5a6715cd 100644 --- a/buck2/python/hello/hello.py +++ b/buck2/python/hello/hello.py @@ -9,4 +9,4 @@ def hello(): def goodbye(): print("goodbye called", file=sys.stderr) - return "Goodbye" \ No newline at end of file + return "Goodbye" diff --git a/buck2/python/hello/hello_unittest_test.py b/buck2/python/hello/hello_unittest_test.py index 0f947251..ae6e0e9d 100644 --- a/buck2/python/hello/hello_unittest_test.py +++ b/buck2/python/hello/hello_unittest_test.py @@ -15,4 +15,4 @@ def test_goodbye(self): if __name__ == "__main__": - unittest.main() \ No newline at end of file + unittest.main() diff --git a/buck2/python/hello/main.py b/buck2/python/hello/main.py index a2620090..8c1e7f0e 100644 --- a/buck2/python/hello/main.py +++ b/buck2/python/hello/main.py @@ -6,4 +6,4 @@ def main(): if __name__ == "__main__": - main() \ No newline at end of file + main() diff --git a/buck2/python/library/BUCK b/buck2/python/library/BUCK index 3fb65d4b..d63a1231 100644 --- a/buck2/python/library/BUCK +++ b/buck2/python/library/BUCK @@ -17,4 +17,4 @@ python_library( srcs = ["print.py"], base_module = "printlib", visibility = ["PUBLIC"], -) \ No newline at end of file +) diff --git a/buck2/python/library/print.py b/buck2/python/library/print.py index 27439d32..f9711d55 100644 --- a/buck2/python/library/print.py +++ b/buck2/python/library/print.py @@ -13,4 +13,4 @@ # limitations under the License. def print_string(string): - print(string) \ No newline at end of file + print(string) diff --git a/buck2/python/main/BUCK b/buck2/python/main/BUCK index ff84f6cc..51f1e797 100644 --- a/buck2/python/main/BUCK +++ b/buck2/python/main/BUCK @@ -24,4 +24,4 @@ assert_output( name = "check_main", command = "$(exe_target :main)", output = "hello world from python toolchain", -) \ No newline at end of file +) diff --git a/buck2/python/main/main.py b/buck2/python/main/main.py index 14a6be65..bcbc12a9 100644 --- a/buck2/python/main/main.py +++ b/buck2/python/main/main.py @@ -14,4 +14,4 @@ from printlib.print import print_string -print_string("hello world from python toolchain") \ No newline at end of file +print_string("hello world from python toolchain") diff --git a/buck2/python/platforms/BUCK b/buck2/python/platforms/BUCK index ecf07c95..cc1595f9 100644 --- a/buck2/python/platforms/BUCK +++ b/buck2/python/platforms/BUCK @@ -27,4 +27,4 @@ action_keys( cell = "standard", mode = "standard", visibility = ["PUBLIC"], -) \ No newline at end of file +) diff --git a/buck2/python/platforms/defs.bzl b/buck2/python/platforms/defs.bzl index 4c73ea89..419dc3f4 100644 --- a/buck2/python/platforms/defs.bzl +++ b/buck2/python/platforms/defs.bzl @@ -64,4 +64,4 @@ action_keys = rule( "mode": attrs.string(), }, impl = _action_keys -) \ No newline at end of file +) diff --git a/buck2/python/test_utils.bzl b/buck2/python/test_utils.bzl index de90d5d8..58dd05ee 100644 --- a/buck2/python/test_utils.bzl +++ b/buck2/python/test_utils.bzl @@ -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", - ) \ No newline at end of file + ) diff --git a/buck2/python/toolchains/defs.bzl b/buck2/python/toolchains/defs.bzl index a7c4231f..c64656de 100644 --- a/buck2/python/toolchains/defs.bzl +++ b/buck2/python/toolchains/defs.bzl @@ -62,4 +62,4 @@ remote_python_toolchain = rule( }, is_toolchain_rule = True, -) \ No newline at end of file +)