Skip to content

Commit eec64a5

Browse files
shannonzhufacebook-github-bot
authored andcommitted
Fix pysa integration test lint
Summary: Fixing this lint breaks tests that rely on line numbers, blocking fbcode auto lint. Reviewed By: zertosh Differential Revision: D30193981 fbshipit-source-id: ff4ea80359e9e8ebad69af5fa21a7021d1077b18
1 parent e95fb10 commit eec64a5

File tree

2 files changed

+61
-63
lines changed

2 files changed

+61
-63
lines changed

source/interprocedural_analyses/taint/test/integration/dictionary.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,7 @@ def forward_comprehension_key_sink(arg):
111111

112112

113113
def lists_of_dictionary_iteration_is_precise():
114-
list_of_dicts = [
115-
{"with_feature": _test_source(), "without_feature": 0} for x in []
116-
]
114+
list_of_dicts = [{"with_feature": _test_source(), "without_feature": 0} for x in []]
117115
for dict in list_of_dicts:
118116
_test_sink(dict["with_feature"])
119117
_test_sink(dict["without_feature"])

0 commit comments

Comments
 (0)