-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #125 from angelcaru/mypy
Add type annotations to Python codebase (REP-4 #70)
- Loading branch information
Showing
30 changed files
with
1,492 additions
and
1,281 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,5 @@ | |
|
||
from core.builtin_funcs import run | ||
|
||
__all__ = ["run"] | ||
__version__ = "0.0.1" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,7 @@ | ||
from core.builtin_classes.base_classes import BuiltInClass | ||
from core.builtin_funcs import global_symbol_table | ||
from core.builtin_classes.file_object import FileObject | ||
from core.builtin_classes.string_object import StringObject | ||
from core.builtin_classes.json_object import JSONObject | ||
from core.builtin_classes.requests_object import RequestsObject | ||
|
||
|
||
global_symbol_table.set("File", BuiltInClass("File", FileObject)) | ||
global_symbol_table.set("String", BuiltInClass("String", StringObject)) | ||
global_symbol_table.set("Json", BuiltInClass("Json", JSONObject)) | ||
global_symbol_table.set("Requests", BuiltInClass("Requests", RequestsObject)) | ||
__all__ = ["BuiltInClass", "FileObject", "StringObject", "JSONObject", "RequestsObject"] |
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
Oops, something went wrong.