Skip to content

Commit

Permalink
Require mypy extension
Browse files Browse the repository at this point in the history
  • Loading branch information
MaddyGuthridge committed Jan 30, 2022
1 parent ab408f9 commit 870fe65
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"ms-python.python",
"streetsidesoftware.code-spell-checker",
"njpwerner.autodocstring",
"kevinrose.vsc-python-indent"
"kevinrose.vsc-python-indent",
"matangover.mypy"
],
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
"unwantedRecommendations": [
Expand Down
5 changes: 4 additions & 1 deletion include/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
include
Initialise substitute modules to add them to the path variable, so that they
can be imported normally
can be imported normally.
WARNING: The substitute modules aren't complete replacements, and should only
be used for purposes that have no effect at runtime, such as type checking.
"""

import sys
Expand Down
3 changes: 2 additions & 1 deletion plugs/plugin.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
"""
plugins > plugin
Contains the definition of the Plugin base class
Contains the definition of the Plugin base class, and its two main types
StandardPlugin and SpecialPlugin.
"""

from common.util.apifixes import PluginIndex
Expand Down

0 comments on commit 870fe65

Please sign in to comment.