-
-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove a couple type ignores + cleanup CacheMappingView (#657)
* Work around a MyPy inference (? or typeshed) bug * Clean up CacheMappingView * A few more type ignores * Please flake8 * Revert isinstance checks * Use TypeGuards instead Other two type ignores here are pending update of typeshed in mypy: python/typeshed#5473 * Code review feedback Co-authored-by: davfsa <[email protected]> Co-authored-by: FasterSpeeding <[email protected]> * Use mypy attrs plugin more effectively * Fix merge conflicts * Remove redundancy in config * Re-order type overloads and abstract method decorators Now, this PR follows the convention found elsewhere in the library. (In hikari/api/rest.py) * Actually run converters, as well as have a docstring for ssl * davfsa patch to cache, with a couple changes * Don't run converters on setattr * Fix Cache3DMappingView (why isn't mypy warning me about this!!) * Remove transparent mapping * Remove redundant else clause * Reformat Co-authored-by: davfsa <[email protected]> Co-authored-by: FasterSpeeding <[email protected]>
- Loading branch information
1 parent
bf99770
commit 88dce72
Showing
5 changed files
with
90 additions
and
87 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
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