-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
Initial mypy
support
#356
Open
schnellerhase
wants to merge
28
commits into
FEniCS:main
Choose a base branch
from
schnellerhase:mypy
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
Initial mypy
support
#356
Changes from 22 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
24a6297
Add ignore all mypy config to pyproject.toml
schnellerhase 6d58936
Add py.typed
schnellerhase 367897c
Add mypy check to CI
schnellerhase aba7a3d
Add mypy to CI dependency
schnellerhase 6ac4a31
Fix mypy error code 'index'
schnellerhase 6993281
Fix mypy error code 'name-defined'
schnellerhase f887c42
Fix mypy error code 'return-value'
schnellerhase 95c76d5
Fix mypy error code 'has-type'
schnellerhase 35c2d5f
Add types-colorama to typing dependecies
schnellerhase 8d69bd1
Fix mypy error code 'import-untyped'
schnellerhase ddccf07
Change base class of TensorProductCell to Cell
schnellerhase 28e3e6b
Fix mypy error code 'override'
schnellerhase 7f777aa
Switch to tpying.Tuple
schnellerhase a036787
Removed unused code
schnellerhase 9ff27d7
Fix mypy error code 'var-annotated'
schnellerhase e5c95af
Replace typing.Self with older python variant
schnellerhase 9f25a0f
Fix mypy error code 'method-assign'
schnellerhase c64d047
Fix mypy error code 'import-not-found'
schnellerhase cdbb08a
Ruff
schnellerhase 4687473
Merge branch 'main' into mypy
schnellerhase 57c69ce
Merge branch 'main' into mypy
jorgensd ee07111
Merge branch 'main' into mypy
jorgensd 43c292d
Merge branch 'main' into mypy
garth-wells c559532
Merge branch 'main' into mypy
schnellerhase ec874db
Merge branch 'main' into mypy
mscroggs ed91dfc
Merge branch 'main' into mypy
mscroggs 977a466
Remove unused _object_cache
schnellerhase 14ce09a
Switch to make reconstruct return AbstractCell
schnellerhase 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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
Empty file.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this change deliberate? I guess we should talk to our firedrake friends (@dham) if this is something they want.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, fixes
Not entirely sure if it is the right fix to it though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps the return type of
reconstruct
should beAbstractCell
rather thanCell
? This this can go back to inheriting fromAbstractCell
?