Commit 0900aeba authored by John Reese's avatar John Reese Committed by Facebook GitHub Bot
Browse files

apply new formatting config

Summary:
pyfmt now specifies a target Python version of 3.8 when formatting
with black. With this new config, black adds trailing commas to all
multiline function calls. This applies the new formatting as part
of rolling out the linttool-integration for pyfmt.

paintitblack

Reviewed By: zertosh, lisroach

Differential Revision: D37084377

fbshipit-source-id: 781a1b883a381a172e54d6e447137657977876b4
parent 8098d160
...@@ -24,7 +24,7 @@ class TestTorchscriptExportMethods(unittest.TestCase): ...@@ -24,7 +24,7 @@ class TestTorchscriptExportMethods(unittest.TestCase):
input_args=None, input_args=None,
save_path=None, save_path=None,
export_method=export_method, export_method=export_method,
**export_kwargs **export_kwargs,
) )
export_method_string = "torchscript" export_method_string = "torchscript"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment