PyUpgrade – Automatically upgrade to newer Python syntax
A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language. - asottile/pyupgrade... (more…)
Read more »
In this final part of the series,
we’ll explore a trick to make the behaviour of a macro depend
on whether it’s used as a statement or as part of an expression.
Using that, we’ll make the python!{} macro
more flexible to allow saving, reusing, and inspect… Read more