From 44d33a895c7e982dfb0845f7257a8c76ee106498 Mon Sep 17 00:00:00 2001 From: Kiuk Chung Date: Mon, 17 Nov 2025 13:01:35 -0800 Subject: [PATCH] Make asdict support thrift types, and add asthrift, and asjson Summary: This change is so that we can deprecate `//torchx/fb/util:thrift_py3` in favor of the `torchx.specs.fb.serde` module Reviewed By: ethanbwaite Differential Revision: D87121675 --- .flake8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.flake8 b/.flake8 index 23ee116c5..fa324ea9d 100644 --- a/.flake8 +++ b/.flake8 @@ -4,7 +4,7 @@ max-line-length = 120 # C408 ignored because we like the dict keyword argument syntax # E501 is not flexible enough, we're using B950 instead ignore = - E203,E305,E402,E501,E721,E741,F405,F821,F841,F999,W503,W504,C408,E302,W291,E303, + E203,E305,E402,E501,E704,E721,E741,F405,F821,F841,F999,W503,W504,C408,E302,W291,E303, # shebang has extra meaning in fbcode lints, so I think it's not worth trying # to line this up with executable bit EXE001,