python-trio / flake8-async

Highly opinionated linter for Trio code
https://flake8-async.readthedocs.io
MIT License
17 stars 2 forks source link

Add TRIO222, extend TRIO221, flake8-async redundant #119

Closed jakkdl closed 1 year ago

jakkdl commented 1 year ago

Since https://docs.python.org/3/library/os.html#os.posix_spawn recommends using subprocess.run instead I assumed it should use the same error message as it.

Feels kinda hard to give a good drop-in replacement for os.wait* since it may be used for so much, but made a guess - feel free to suggest something else.

Closes #58 at last! And also makes flake8-async fully redundant