Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1b61080

Browse filesBrowse files
authored
🐛 Fix E128
Flake8 Tavis Failure: `continuation line under-indented for visual indent`
1 parent 95e2ac3 commit 1b61080
Copy full SHA for 1b61080

File tree

Expand file treeCollapse file tree

1 file changed

+8
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+8
-3
lines changed

‎pyt/vulnerabilities/vulnerabilities.py

Copy file name to clipboardExpand all lines: pyt/vulnerabilities/vulnerabilities.py
+8-3Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -398,9 +398,14 @@ def get_vulnerability(
398398
Returns:
399399
A Vulnerability if it exists, else None
400400
"""
401-
nodes_in_constraint = [secondary for secondary in reversed(source.secondary_nodes)
402-
if lattice.in_constraint(secondary,
403-
sink.cfg_node)]
401+
nodes_in_constraint = [
402+
secondary
403+
for secondary in reversed(source.secondary_nodes)
404+
if lattice.in_constraint(
405+
secondary,
406+
sink.cfg_node
407+
)
408+
]
404409
nodes_in_constraint.append(source.cfg_node)
405410
if sink.trigger.all_arguments_propagate_taint:
406411
sink_args = get_sink_args(sink.cfg_node)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.