Anthony Sottile(@codewithanthony) 's Twitter Profileg
Anthony Sottile

@codewithanthony

ID:843173484343644161

linkhttps://twitch.tv/anthonywritescode calendar_today18-03-2017 18:53:18

5,5K Tweets

6,3K Followers

313 Following

pre-commit.ci(@pre_commit_ci) 's Twitter Profile Photo

[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-comm…

account_circle
pre-commit.ci(@pre_commit_ci) 's Twitter Profile Photo

pre-commit ci now has python 3.12 support (and python 3.7 has been removed) -- full details here: groups.google.com/u/3/g/pre-comm…

account_circle
Anthony Sottile(@codewithanthony) 's Twitter Profile Photo

infuriating that GitHub support would send me confidently-wrong obviously AI generated garbage in response to reporting a regression

account_circle
pre-commit.ci(@pre_commit_ci) 's Twitter Profile Photo

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-comm…

account_circle
shazrobot(@shazrobot) 's Twitter Profile Photo

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 Anthony Sottile.

account_circle
Adam Johnson(@AdamChainz) 's Twitter Profile Photo

🍿 Check out Anthony Sottile ’s review of changes coming in Python 3.12. A great reference with some lovely tidbits.

youtube.com/watch?v=IV8OZY…

account_circle
Anthony Sottile(@codewithanthony) 's Twitter Profile Photo

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*

account_circle
Anthony Sottile(@codewithanthony) 's Twitter Profile Photo

flake8 6.1 has been released! this adds support for python 3.12 among other things -- flake8.pycqa.org/en/latest/rele…

account_circle
Matt Layman 🇺🇸(@mblayman) 's Twitter Profile Photo

Anthony Sottile 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!

account_circle
Anthony Sottile(@codewithanthony) 's Twitter Profile Photo

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/pyupg…

account_circle
Anthony Sottile(@codewithanthony) 's Twitter Profile Photo

whether you're new to git or an experienced veteran -- Adam Johnson'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/bygdx?layout…

account_circle
Anthony Sottile(@codewithanthony) 's Twitter Profile Photo

I'll be streaming in ~15 minutes! going to try and fix pycodestyle / pyflakes for 3.12 breakages -- stop by and chat! twitch.tv/anthonywritesc…

account_circle