Skip to content

Commit

Permalink
Make gen_op_registration flake8 compliant (#47604)
Browse files Browse the repository at this point in the history
Summary:
Fixes regression introduced by D24686838 (8182558)

Pull Request resolved: #47604

Reviewed By: walterddr

Differential Revision: D24832687

Pulled By: malfet

fbshipit-source-id: e9f7a35561c2b1705e11fd11abe402e3c83cf5cc
  • Loading branch information
malfet authored and facebook-github-bot committed Nov 9, 2020
1 parent b80da89 commit 3d96243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/code_analyzer/gen_op_registration_allowlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def load_root_ops(fname):
return result


def gen_transitive_closure(dep_graph, root_ops, train = False):
def gen_transitive_closure(dep_graph, root_ops, train=False):
result = set(root_ops)
queue = root_ops[:]

Expand Down

0 comments on commit 3d96243

Please sign in to comment.