-
-
Notifications
You must be signed in to change notification settings - Fork 1
🚨 add Pyright static type checking #38
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
12 commits
Select commit
Hold shift + click to select a range
a2f03a8
chore: add pyright to development dependencies and configure tox for …
techouse 367b9c7
chore: add pyright to linting workflow for enhanced type checking
techouse b165d15
refactor: update type hints for filter parameter and improve Undefine…
techouse 47062c2
chore: update mypy version constraints in dev requirements and tox co…
techouse f3a69db
chore: update development dependencies and streamline tox configuration
techouse 711d7c2
test: add parameterized test for filtering non-int keys in sequences
techouse 7f4f506
refactor: update filter type hint to use Sequence and add test for Us…
techouse 77efe7f
refactor: update documentation to specify 'sequence' instead of 'list…
techouse 2856ff1
refactor: update import alias for Sequence and adjust type hints to u…
techouse 976da1e
test: add fallback tests for decoder with unavailable signatures and …
techouse 0ea2f9c
refactor: rename filter parameter to filter_ for consistency in encod…
techouse 5300242
refactor: streamline filter handling in encode function for improved …
techouse 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 |
|---|---|---|
| @@ -1,8 +1,18 @@ | ||
| pytest>=8.1.2 | ||
| bandit | ||
| black | ||
| flake8 | ||
| flake8-colors | ||
| flake8-docstrings | ||
| flake8-import-order | ||
| flake8-typing-imports | ||
| isort | ||
| mypy<1.11; python_version < "3.9" | ||
| mypy<1.19; python_version >= "3.9" and platform_python_implementation == "PyPy" | ||
| mypy>=1.11; python_version >= "3.9" and platform_python_implementation != "PyPy" | ||
| pep8-naming | ||
| pylint | ||
| pyright | ||
| pytest-cov>=5.0.0 | ||
| mypy>=1.10.0; platform_python_implementation != "PyPy" | ||
| mypy<1.19; platform_python_implementation == "PyPy" | ||
| pytest>=8.1.2 | ||
| toml>=0.10.2 | ||
| tox | ||
| black | ||
| isort |
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.