-
Notifications
You must be signed in to change notification settings - Fork 4
Add the pyright type gate and the unit coverage that goes with it #282
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
Merged
Merged
Changes from all commits
Commits
Show all changes
67 commits
Select commit
Hold shift + click to select a range
a943ccd
Satisfy the current ruff pre-commit pins in the RVC4 analyzer
kozlov721 6d7caf0
Rename `target`/`packages` terminology to `platform`
kozlov721 6e1e827
Make implementation-detail class members private
kozlov721 065898f
Add `typos` pre-commit check and fix the typos it found
kozlov721 ea57b62
updated requirements
kozlov721 a9f7029
type fixes
kozlov721 2265af1
less verbose builds
kozlov721 153573d
fix ci
kozlov721 bb781bf
don't upload coverage on manual trigger
kozlov721 468d896
cleanup
kozlov721 b1a91c1
fix
kozlov721 6920d26
Merge branch 'main' into chore/pre-docs-cleanup
kozlov721 ce9de96
Merge branch 'main' into chore/pre-docs-cleanup
kozlov721 76fedbb
Restore the per-platform install extras
kozlov721 0178fac
Guard the channel-first transpose on the array rank
kozlov721 4fa29e5
Expose the exporter inputs and model name
kozlov721 29b51dd
Select the RVC3 tests when the RVC2 code changes
kozlov721 abbc05c
Run the pyright that the dev extra pins
kozlov721 8f84a12
Omit the new RVC4 utils module from coverage
kozlov721 908d6ee
Move the private members to their conventional places
kozlov721 a5847e6
Correct the stale docstrings and the log message
kozlov721 ebf90e5
Type the subprocess output as bytes
kozlov721 c5ba06d
Remove the last `Any`
kozlov721 a36e3b0
Rename the tests that still say "target"
kozlov721 fae869d
Correct the stale commands and paths in the README
kozlov721 0f02177
Rewrap the staged-token comment
kozlov721 2be9311
Replace the duplicated `input_model` guard with a helper
kozlov721 efec58d
Stop `human_size` writing a unit `parse_size` cannot read
kozlov721 0fa23d4
Exclude the stat fallbacks the cache sweep cannot reach
kozlov721 65823db
Cover the config validators and the coercion helpers
kozlov721 f08f475
Cover the size and the directory helpers
kozlov721 da4fb6c
Cover the output directory and the slug refusals
kozlov721 7c0071c
Cover the TFLite tensor errors
kozlov721 176f5ad
Cover what the exporter run leaves behind
kozlov721 031267f
Cover the inferer stand-ins
kozlov721 c8a2328
Cover the entrypoint test helpers
kozlov721 c3061e5
Cover the input staging edge cases
kozlov721 49f7ec0
Move the type gate and its coverage to a follow-up PR
kozlov721 d202ca1
Type the utils and the test helpers
kozlov721 2c0272e
Cover the size, staging and TFLite paths
kozlov721 c6966bd
Add the pyright type gate
kozlov721 e4775e7
fix typo;
kozlov721 c42445d
nitpicks
kozlov721 b648362
Type the utils and the test helpers
kozlov721 6ef93d0
Cover the size, staging and TFLite paths
kozlov721 080c001
Add the pyright type gate
kozlov721 f762ddf
Merge branch 'chore/type-gate-and-coverage' of github.com:luxonis/mod…
kozlov721 810231b
Name the real types behind the test object annotations
kozlov721 6a46320
Fix the crash on a Split-Concat that feeds nothing
kozlov721 4148dda
Report the DSP power collapse value as optional
kozlov721 3834769
Name the real type of the HTTP header getter
kozlov721 08613eb
Correct the RVC4 analyze and visualize collection types
kozlov721 44dd48a
Type the config literals that hold mixed values
kozlov721 04a7b00
Narrow the model name that the archive supplies
kozlov721 f943a2b
Fix the types in the evaluation tests
kozlov721 9c6e690
Name the real types in the progress handler
kozlov721 8f4e633
remove unused and unresolvable extras
kozlov721 0bffbad
Merge branch 'main' into chore/type-gate-and-coverage
kozlov721 0543c9d
Detect the release branch on every event
kozlov721 3b9268a
Pin the pyright that the type gate runs
kozlov721 b0e804a
Name the RVC4 analyzer dtype parameter
kozlov721 459e03a
Skip the FIFO test where mkfifo is absent
kozlov721 9445cf5
Remove the unreachable model name type guard
kozlov721 ed062a1
Read the download response headers directly
kozlov721 9fffbab
Take the first successor without a generator
kozlov721 af76db5
Match the file's boolean assertion style
kozlov721 9ca89a6
Derive the release check from the checkout ref
kozlov721 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
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.
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.