This file contains hidden or 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
| --- | |
| import { somefunc } from "../lib/utils"; | |
| --- | |
| <h1>My page</h1> |
This file contains hidden or 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
| def walk_for_subclasses(pkg, klass): | |
| """ Find subclasses of klass declared under pkg """ | |
| def load_package_modules(): | |
| # This function imports the modules in package, it is not where | |
| # subclasses are collected | |
| for module_finder, name, ispkg in walk_packages( | |
| path=pkg.__path__, | |
| prefix=f"{pkg.__name__}." | |
| ): |
This file contains hidden or 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
| /** | |
| * Gist: https://gist.github.com/riverfr0zen/9fe49ce07efb7646e7f8a7acff7fbe9f | |
| * See also related StackOverflow conversation: | |
| * https://stackoverflow.com/questions/48724061/ignore-undefined-name-for-certain-global-keywords-w-sublimelinter-flake8/49221082 | |
| * | |
| * Ignore Processing keywords in SublimePythonIDE's linter for | |
| * SublimeText3 when developing for Processing.py. | |
| * | |
| * Based on Processing.py reference here: | |
| * http://py.processing.org/reference/ |