-
Notifications
You must be signed in to change notification settings - Fork 2
Type hints #28
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
Type hints #28
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
c5505f9
Add type hint to library
metaodi 9db0c4a
Check types in build
metaodi 1145603
Update config and types
metaodi fbb4aa7
Update type hints
metaodi 1d299c5
Fix linting problems
metaodi 6a94a58
Fix typos
metaodi 754be47
Update import code
metaodi 228e321
Fix linting
metaodi bbfa0eb
Initial plan
Copilot 379ed95
Format Jupyter notebook with black
Copilot 61bf4d4
Fix black formatting in Python files
Copilot 935d21a
Reformat client.py with black 24.10.0
Copilot 3036bcf
Format code with black to fix CI build
metaodi 57c6d3b
Update build.yml to simplify pull_request triggers
metaodi e63ccfd
Initial plan
Copilot 6e42b12
Fix mypy type errors in visualization.py
Copilot 49bc511
Merge pull request #30 from metaodi/copilot/sub-pr-28
metaodi c08f77c
Initial plan
Copilot 2dcbfa5
Update README.md
metaodi 1196752
Initial plan
Copilot 302a14e
Update swissparlpy/visualization.py
metaodi c430e5c
Add tests for SwissParlResponse.to_dataframe() method
Copilot 50d0df6
Update swissparlpy/visualization.py
metaodi eb2ae80
Split dependency detection for pandas and matplotlib
Copilot 70073be
Fix typo: mightnot -> might not
Copilot aa06a6f
Merge pull request #31 from metaodi/copilot/sub-pr-28
metaodi 3038913
Change kwargs type hint from dict to Any
Copilot 0acaa95
Merge pull request #33 from metaodi/copilot/sub-pr-28-another-one
metaodi 4b530b7
Merge type-hints branch
Copilot 429377b
Merge branch 'type-hints' into copilot/sub-pr-28-again
metaodi 562da6a
Update CHANGELOG.md
metaodi 6595902
Merge pull request #32 from metaodi/copilot/sub-pr-28-again
metaodi 3a9b7a5
Initial plan
Copilot b17dec7
Restore lazy import of plot_voting to prevent warnings
Copilot d49f50f
Merge pull request #35 from metaodi/copilot/sub-pr-28
metaodi 6417a9c
Update swissparlpy/__init__.py
metaodi 4ed4b6a
Initial plan
Copilot 35f3239
Remove import-time warning for missing pandas
Copilot cd42bde
Merge pull request #36 from metaodi/copilot/sub-pr-28
metaodi 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,3 +7,4 @@ pyenv | |
| dist/ | ||
| examples/voting50/ | ||
| examples/.ipynb_checkpoints/ | ||
| .mypy_cache/ | ||
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
Large diffs are not rendered by default.
Oops, something went wrong.
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.