chore: add type annotation to Bio/File.py by szabgab · Pull Request #5088 · biopython/biopython
Navigation Menu
- Notifications You must be signed in to change notification settings
- Fork 1.9k
Conversation
-
I hereby agree to dual licence this and any previous contributions under both
the Biopython License Agreement AND the BSD 3-Clause License. -
I have read the
CONTRIBUTING.rstfile, have runpre-commit
locally, and understand that continuous integration checks will be used to
confirm the Biopython unit tests and style checks pass with these changes. -
I have added my name to the alphabetical contributors listings in the files
NEWS.rstandCONTRIB.rstas part of this pull request, am listed
already, or do not wish to be listed. (This acknowledgement is optional.)
Addresses #2236 and does not touch files that are addressed in #5057
That's just a tiny fraction of the module - and a private bit of the API too - did you do more but forgot to push the work to GitHub?
|
|
||
| from typing_extensions import TypeAlias | ||
| from typing import Callable | ||
| from _typeshed import FileDescriptorOrPath |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's not in the standard library - see ModuleNotFoundError: No module named '_typeshed' errors in the CI testing.
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