Skip to content
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] additional type hints in wait.py & command.py #10627

Merged
merged 7 commits into from
Jun 9, 2022

Conversation

symonk
Copy link
Member

@symonk symonk commented May 9, 2022

Some minor additional type hints for command.py & wait.py. Need to figure out the driver type hint; but that'll be a decent win throughout once thats sorted in a follow up.

@symonk symonk changed the title Additional types [py] additional type hints in wait.py & command.py May 9, 2022
py/setup.cfg Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

Codecov Report

Merging #10627 (ad58d16) into trunk (3824c3e) will increase coverage by 0.32%.
The diff coverage is 96.66%.

@@            Coverage Diff             @@
##            trunk   #10627      +/-   ##
==========================================
+ Coverage   45.48%   45.80%   +0.32%     
==========================================
  Files          86       86              
  Lines        5712     5715       +3     
  Branches      277      280       +3     
==========================================
+ Hits         2598     2618      +20     
+ Misses       2837     2817      -20     
- Partials      277      280       +3     
Impacted Files Coverage Δ
py/selenium/webdriver/support/wait.py 68.00% <62.50%> (+36.75%) ⬆️
py/selenium/types.py 100.00% <100.00%> (ø)
py/selenium/webdriver/remote/command.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3824c3e...ad58d16. Read the comment docs.

@titusfortner titusfortner added this to the 4.3 milestone May 24, 2022
@AutomatedTester
Copy link
Member

Can you fix the tox stuff and then it's good to go

@symonk symonk merged commit 890f74e into SeleniumHQ:trunk Jun 9, 2022
@symonk symonk deleted the additional-types branch June 9, 2022 19:34
elgatov pushed a commit to elgatov/selenium that referenced this pull request Jun 27, 2022
* add additional types to `command.py`

* [py]: adding some types to `wait.py`

* [py]: add alias for wd wait types; ignore `*venv` for flake8

* [py]: Remove unused `InvalidSelectorException` import

Co-authored-by: David Burns <david.burns@theautomatedtester.co.uk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants