Skip to content

Commit ae3b98e

Browse files
kiblikmtesauro
andauthored
Ruff: Add and autofix B033 (#11954)
Co-authored-by: Matt Tesauro <mtesauro@gmail.com>
1 parent 098ff68 commit ae3b98e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dojo/engagement/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ def get_product_tab(
802802
product_tab = Product_Tab(engagement.product, title="Import Scan Results", tab="engagements")
803803
product_tab.setEngagement(engagement)
804804
else:
805-
custom_breadcrumb = {"", ""}
805+
custom_breadcrumb = {""}
806806
product_tab = Product_Tab(product, title="Import Scan Results", tab="findings")
807807
return product_tab, custom_breadcrumb
808808

ruff.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ select = [
8585
"FURB",
8686
"DOC202", "DOC403", "DOC502",
8787
"RUF",
88+
"B033",
8889
"B905",
8990
]
9091
ignore = [

0 commit comments

Comments
 (0)