python-trio / flake8-async

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

fix py313a5 deprecationwarning #218

Closed jakkdl closed 6 months ago

jakkdl commented 6 months ago

Seems like #217 ran with py313a4, but upon merging the tests ran on py313a5, which is how the warning snuck onto master.

Also required specifying the type better in the visit_ functions for pyright to accept it.

Presumably we could entirely get rid of the __dict__ assignment and only use *args, but not gonna bother.