Skip to content

Comment on How to Do a TypeScript Conversionparent

Comments

pre-commit are more trouble than they are worth

Nah pre-commit is great for lots of quick checks (formatting, trailing whitespace, linting shell scripts etc), it's just that type checking Python requires the Python dependencies to be already installed and that means setting up a venv and installing stuff and that's just a bit too complex.

Does this work well with pycharm? I think I looked into this a while ago and it seemed really tightly coupled to VSC.

Possibly not. You can definitely run it from the command line without VSCode since Pyright the type checker is open source. The VSCode Python LSP server Pylance is closed source though (this provides additional features beyond type checking like completion and refactoring).

Haven't used Pycharm for decades but I'd guess it has its own thing.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.