Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why isn't the agent smart enough to recognize typed Python code existing in a project or detect that an explicit py.typed file exists?


In the case of Claude Code the hook feature is ideal for this so I could imagine the designers deciding that it is more appropriate to put the user in control. That said I think I do agree with you that -- given Python's fairly unique position of having good static typing but not requiring it -- the agents should default to running the type checker if they see it configured in pyproject.toml.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: