Conversation
- no official pre commit hook support for ty: astral-sh/ty#269
|
Note 1: There is no pre commit hook for
ref: |
|
Note 2: await outside func/async function We are getting errors saying
It is something under discussion there:
And then we got reply saying:
I think it will take quite a while to get this feature. ref: |
- `ty` doesn't have any allow empty body config afaik
|
Here is existing And here is what I am migrating into: And here is my mapping, or the reason:
Open for discussion, if I am missing something. Just wanted to clarify. ref: |
Yes, I wrote that, but the purpose of this item would be to replace mypy with ty including in pre-commit. |
Every py file under /doc can have await outside functions so those should be ignored there (only there!) |
|
@romanlutz that is something I am working on. I will share related links soon. I am also trying to write rules for |
|
@maifeeulasad let me know if you need any help 🙂 |
Description
closes #1313
Tests and Documentation