-
Notifications
You must be signed in to change notification settings - Fork 306
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve type hint annotations to
plasmapy.particles
(#2458)
* Use and adjust monkeytype on atomic.py * Add monkeytype file to .gitignore * Remove unintentionally added monkeytype file * Update type hints for atomic.py * Type hints for particle_class.py * Stop ignoring mypy errors in atomic.py, particle_class.py, & tests * Update types in particle_class * Hide some mypy errors again * Update types in test_particle_class * Add changelog entry * Type hinting in _factory.py * Type hints for _elements.py & atomic.py * Update import * Remove duplicate entry * Revert a change in a comment * Remove io.StringIO as type hint ...since it was breaking the documentation build.
- Loading branch information
Showing
7 changed files
with
124 additions
and
105 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Updated type hint annotations in `plasmapy.particles`. |
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
Oops, something went wrong.