vscode-leetcode icon indicating copy to clipboard operation
vscode-leetcode copied to clipboard

An import is missing in the Python3's problem template

Open eglyph opened this issue 4 years ago • 1 comments

This is quite a minor thing, but the Python3's problem template uses types annotations, however typing isn't imported.

Could you please add from typing import * somewhere before # @lc code=start in the Python's template?

eglyph avatar Jun 04 '21 00:06 eglyph

+1, there are a bunch of Python modules imported by default in the Leetcode runner so it would be helpful to have those in the file as well. Alternatively, a way to create a custom template for each language would allow users to resolve this issue.

brent-moffit avatar Aug 31 '22 20:08 brent-moffit