canvasapi
canvasapi copied to clipboard
Issue/363 type hints
Proposed Changes
Include type hints for the <Canvas>
class.
This is a first draft of including type annotations in the library. The contribution guidelines have also been updated to show how to add annotations to other modules following Python 3.6 formatting for backwards compatibility. I've tagged the original issue for reference, but this PR only includes annotations for <Canvas>
at this point.
Related issue: #363
So, this failed because of the mdl
check on spaces after list markers. The rule specifies 1, the contribution guidelines all use 3. Do you want to reformat for the standard rule or write our own for 3 spaces after a list marker?