-
-
Notifications
You must be signed in to change notification settings - Fork 70
Type annotation infrastructure and initial typing for qtbot.py #605
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
Open
herobank110
wants to merge
25
commits into
pytest-dev:master
Choose a base branch
from
herobank110:type_annotation_test
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
0c57f88
try import from qtpy
herobank110 373ea8d
mypy precommit
herobank110 c0bb438
ignore attrdefined
herobank110 30f9b69
only check src
herobank110 0720c53
ignore more types
herobank110 9128ce3
add pytyped files-partial
herobank110 9a8a4b5
change qtpy to Any alias
herobank110 d9c8a5c
save
herobank110 acc1994
add more typing
herobank110 97c08fe
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 4aa9d93
update to mypy 1.16
herobank110 66b5264
Merge branch 'master' into type_annotation_test
herobank110 786aa1e
change Generator to Iterator
herobank110 2d0adb1
move error types to classvars
herobank110 7bdb099
add mypy config file
herobank110 a55f75d
exclude docs, remove type ignore comment
herobank110 3b95d0e
change cast to annotation
herobank110 9ac08ed
change cast str to str conversion
herobank110 58c1545
ignore unused ignore
herobank110 3951f6f
type alias annotation for qt objects
herobank110 4a0acb5
remove quotes from type
herobank110 fd4229e
Update CHANGELOG.rst
nicoddemus 794bdad
Update setup.py
nicoddemus bd3f70a
Update qtbot.py
nicoddemus dd07768
Update qtbot.py
nicoddemus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[mypy] | ||
exclude = ^docs/ | ||
no_implicit_optional = True | ||
pretty = True | ||
show_error_codes = True | ||
strict_equality = True | ||
warn_redundant_casts = True | ||
warn_unused_configs = True | ||
warn_unused_ignores = True |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# _version is automatically generated by setuptools_scm | ||
from pytestqt._version import version | ||
|
||
__version__ = version | ||
__version__: str = version |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
partial |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.