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

There are linters that give you this statically, but you need to know to run the linter. An example: https://docs.astral.sh/ruff/rules/call-datetime-without-tzin...


Just to be sure, is this rule enabled by default?


In the case of ruff, I don't believe so. Your config needs to specify ALL or DTZ.




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

Search: