-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Reorder subpackages above top-level modules * Annotations for nacl.hash * Annotations for nacl.hashlib * annotations for nacl.secret * annotations for nacl.public Had some fun merging in the changes from #692 with #706. I didn't go all-in to make `PrivateKey`'s classmethods take a generic `cls` parameter. Felt it was easier to keep things simple. * Annotations for nacl.signing * Tidy up mypy config Now that all files are annotated, apply common settings globally so that the overrides only apply to `nacl.bindings`. In doing so, account for an `Any`-expression in `scrypt.py`. I must not have correctly configured mypy for `nacl.pwhash` in #718: I think it should have been `nacl.pwhash.*` instead of `nacl.pwhash`. * Include a PEP 561 `py.typed` marker file
- Loading branch information
1 parent
78b5030
commit b9a14e1
Showing
9 changed files
with
196 additions
and
111 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
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.