Recursively apply to directories
petrem opened this issue ยท 8 comments
It would be slightly useful to allow the tool to take directories and apply the changes recursively to all *.py files.
Not that you couldn't find . -name \*.py -exec auto-walrus --line-length 88 '{}' \;
or something.
Would you see this as a desirable feature? If so (without signing any promise in blood), I would try to write a PR.
sorry, I only accept feature requests if accompanied by blood promises
ok cross(self.heart) && hope(sys.exit())
...?
I'd accept a PR, although I'm a little surprised that anyone is actually using this package, it was intended as more of a joke than anything ๐
Well, it's all in good fun, then ;-). I didn't forget my promise, I have some code written that looks like working, but haven't got yet time to write some tests, too.
could you check how cython-lint does it please? we can reuse the same config from there
Sorry about that, I'll make a release now
should be available now - sorry for the delay y'all, hope you enjoy using the walrus operator to your hearts' content