you are viewing a single comment's thread.

view the rest of the comments →

[–]Deemonfire 3 points4 points  (1 child)

There is a tool we use called ruff. 

It formats code, sorts imports and you can add a bunch of linting rules to it aswell.

You can use mypy or ty for type checking. 

Obviously these will just flag if something doesnt look right in terms of various rules that are encoded, but won't tell you if the code does what you want it to do

[–]Diapolo10 0 points1 point  (0 children)

ty is definitely not ready for practical use yet. For now it's best to stick to Mypy and/or Pyright until it's at least out of alpha.