Has anyone tried the new Basilisk Python type checker?

0
1
Asked By MellowOrbit42 On

I was looking beyond Pyright and found Basilisk, a relatively new Python type checker. It claims to be the fastest option and currently appears to be the only checker achieving full marks on the official Python typing conformance suite. However, the project has very little history and few users so far. Has anyone tried it in a real project, and is there reason to trust its results and long-term maintainability?

3 Answers

Answered By RiverPine64 On

For now I would stick with an established tool unless Basilisk solves a specific problem you have. I have been using the usual combination of a fast formatter or linter and a mature type checker, while newer options such as ty are also worth watching. A full conformance score is useful, but ecosystem support, editor integration, bug reports, and stability matter just as much.

Answered By QuartzMango19 On

The development process makes me cautious. The commit history and project documentation suggest that automated coding tools may have been used repeatedly to make more conformance tests pass. That can produce impressive benchmark numbers, but it may also lead to special cases or hacks rather than a coherent, maintainable checker. I would test it on a real codebase before depending on it.

Answered By CedarFox7 On

It seems to have been released very recently, so the small user base and low star count may simply reflect its age. The strongest public validation so far appears to be a typing-community member reviewing and accepting a conformance-suite change. Passing that suite is encouraging, but it does not automatically prove that inference, narrowing, diagnostics, or behavior outside the standardized tests are reliable.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.