Skip to content

Commit 2b0b4ff

Browse files
committed
Fix remaining ruff lint errors
- chrome_wrapper.py: fix undefined 'args' -> use 'func_args' - scrape.py: replace bare 'except:' with 'except Exception:'
1 parent 3a70d0a commit 2b0b4ff

2 files changed

Lines changed: 118 additions & 122 deletions

File tree

src/google_flight_analysis/scrape/chrome_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,6 @@ def find_elements(self, query):
137137

138138
# condition = lambda result, args: result == args...
139139
def assertion(self, func, condition_func, *func_args, **condition_func_args):
140-
assert condition_func(getattr(self.web_element, func)(*args), **condition_func_args)
140+
assert condition_func(getattr(self.web_element, func)(*func_args), **condition_func_args)
141141

142142
return self

0 commit comments

Comments
 (0)