Skip to content

Commit 537048f

Browse files
Ruff: Add PLW0602 (#12075)
1 parent 88c2458 commit 537048f

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

ruff.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ select = [
7676
"PLC01", "PLC0205", "PLC0208", "PLC0414", "PLC18", "PLC24", "PLC28", "PLC3",
7777
"PLE",
7878
"PLR01", "PLR02", "PLR04", "PLR0915", "PLR1716", "PLR172", "PLR1733", "PLR1736", "PLR5", "PLR6104", "PLR6201",
79-
"PLW01", "PLW02", "PLW04", "PLW0604", "PLW07", "PLW1", "PLW2", "PLW3",
79+
"PLW01", "PLW02", "PLW04", "PLW0602", "PLW0604", "PLW07", "PLW1", "PLW2", "PLW3",
8080
"TRY003", "TRY004", "TRY2", "TRY300", "TRY401",
8181
"FLY",
8282
"NPY",

tests/base_test_class.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,6 @@ def tearDown(self):
446446
@classmethod
447447
def tearDownDriver(cls):
448448
logger.info(f"tearDownDriver: {cls.__name__}")
449-
global dd_driver
450449
if dd_driver:
451450
if (
452451
not dd_driver_options.experimental_options

0 commit comments

Comments
 (0)