[partial outage] the pre-commit.ci website is unreachable for parts of the world. runs are still flowing so it appears to be limited to web reachability through cloudflare -- more details groups.google.com/u/3/g/pre-…
pre-commit ci lite is now available for private repositories! python 2 has also been removed -- check out the full details here: groups.google.com/u/3/g/pre-…
Well I did it. I changed my life. I've made a lot of mistakes in my life but quitting drinking for six and half years to focus on getting my BS in CS was not one of them. 2 weeks in the books as a SWE. Shout out @codewithanthony.
itertools.batched made its way into python 3.12... but it's kinda? bad? it doesn't have any sort of size checking so it'll do all the work until the last chunk is the wrong size *and then error*
@codewithanthony thank you for pre-commit.ci!
I added it for a new repo and went to check on a build, and the job was already done before I had even managed to click the link to the build run.
It's awesome!
wellp. python 3.12 `type x = ...` aliases won't be auto-rewritable because they can't be used equivalently :(
>>> type a = int
>>> isinstance(1, a)
...
TypeError: isinstance() arg 2 must be a type, a tuple of types, or a union
github.com/asottile/pyupgrad…
whether you're new to git or an experienced veteran -- @AdamChainz's new book "Boost Your Git DX" has something for everyone! (even I learned a cool new thing: `git config --show-origin`): adamchainz.gumroad.com/l/byg…