-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[py] PEP 484 type hints for selenium.webdriver.remote.utils #9525
[py] PEP 484 type hints for selenium.webdriver.remote.utils #9525
Conversation
|
||
|
||
LOGGER = logging.getLogger(__name__) | ||
|
||
|
||
def format_json(json_struct): | ||
def format_json(json_struct: Any) -> str: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AutomatedTester looks like this function is unused.
return json.loads(s) | ||
|
||
|
||
def unzip_to_temp_dir(zip_file_name): | ||
def unzip_to_temp_dir(zip_file_name: Path) -> Optional[str]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AutomatedTester this function seems to be unused as well.
If there are methods that are not used then let's delete them. |
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
82b2962
to
d2115fd
Compare
@AutomatedTester done, please review again! |
Kudos, SonarCloud Quality Gate passed! |
Description
This PR adds type hints to
selenium.webdriver.remote.utils
.Motivation and Context
This is a follow-up of #9482 to address #9480.
Types of changes
Checklist