-
Notifications
You must be signed in to change notification settings - Fork 125
test: Extend the type checking of the ops-scenario tests #2230
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
tonyandrewmeyer
wants to merge
27
commits into
canonical:main
Choose a base branch
from
tonyandrewmeyer:type-check-scenario-tests2
base: main
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
27 commits
Select commit
Hold shift + click to select a range
f54de9e
ci: switch to file-by-file ignores for type checking testing/tests
tonyandrewmeyer 13c4c5e
test: add type annotations to test_charm_spec_autoload.
tonyandrewmeyer e26c0a0
test: add type annotations to test_consistency_checker.
tonyandrewmeyer 8f8ae8c
test: add type annotations for test_context_on.
tonyandrewmeyer 43b0a85
test: add type annotations to test_context.
tonyandrewmeyer 34e9703
test: add type annotations to test_emitted_events_util
tonyandrewmeyer 2bf445b
test: add type annotations to test_plugin
tonyandrewmeyer 5a80ce4
test: add type annotations to test_runtime
tonyandrewmeyer c157aea
fix: add type annotation for Runtime.exec
tonyandrewmeyer 086b3f7
chore: there's nothing in __init__ to type check
tonyandrewmeyer 724e079
refactor: don't use sort_patch, just sort things inline.
tonyandrewmeyer 0a38fe9
test: add type annotations to tests/helpers.
tonyandrewmeyer a4cf697
chore: remove -> None from __init__.
tonyandrewmeyer 0ba66d4
refactor: Use the typical pattern for charm init, as suggested in rev…
tonyandrewmeyer 9074221
refactor: avoid cast, per review suggestion.
tonyandrewmeyer cd14ec0
chore: remove scopes from type: ignore, used by mypy but not pyright.
tonyandrewmeyer 59cc28d
chore: remove -> None
tonyandrewmeyer 901e188
chore: remove unnecessary type annotation, per review.
tonyandrewmeyer 33c60eb
chore: remove unnecessary quotes.
tonyandrewmeyer 8c1e771
chore: remove unnecessary sorted().
tonyandrewmeyer 61b9db6
refactor: avoid casts by using a tighter type.
tonyandrewmeyer 6c075f0
chore: remove unnecessary cast and annotations, based on review sugge…
tonyandrewmeyer 7127074
Merge remote-tracking branch 'origin/main' into type-check-scenario-t…
tonyandrewmeyer 6aa58fc
Post merge fixes.
tonyandrewmeyer 9416ef0
Use Iterator[] instead of Generator[] for simpler compatibility with …
tonyandrewmeyer d049dff
Use Iterator[] instead of Generator[] for simpler compatibility with …
tonyandrewmeyer 4465156
Update testing/tests/helpers.py
tonyandrewmeyer 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
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.