Anthony Sottile
@codewithanthony
Followers
6K
Following
4K
Media
998
Statuses
6K
I probably won't be checking this very often so if you need me I'm `asottile` on discord
1
0
22
[partial outage] the https://t.co/6Mq8JKVWe0 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
pre-commit.ci
Developers spend a fair chunk of time during their development flow on fixing relatively trivial problems in their code. pre-commit.ci both enforces that these issues are discovered (which is opt-in...
0
1
6
pre-commit ci now has python 3.12 support (and python 3.7 has been removed) -- full details here:
0
1
18
infuriating that @github support would send me confidently-wrong obviously AI generated garbage in response to reporting a regression
1
0
16
pre-commit ci lite is now available for private repositories! python 2 has also been removed -- check out the full details here:
0
3
20
agile russian roulette: you take turns opening up a jira ticket and touching your yubikey
1
1
11
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.
0
1
14
interesting problem... @pre_commit_ci is so fast that sometimes github records the statuses out of order
0
0
18
🍿 Check out @codewithanthony ’s review of changes coming in Python 3.12. A great reference with some lovely tidbits. https://t.co/jmOxGQ0T39
1
5
46
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*
6
0
13
flake8 6.1 has been released! this adds support for python 3.12 among other things --
0
1
31
Twitter fired almost all of their engineers just so they can say they have 10 X engineers
3
14
144
@codewithanthony thank you for https://t.co/vgKo3Z18ze! 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!
pre-commit.ci
Developers spend a fair chunk of time during their development flow on fixing relatively trivial problems in their code. pre-commit.ci both enforces that these issues are discovered (which is opt-in...
1
1
13
lmao d iffgram is trying to strike my YouTube video which shows their sketchy business practices
0
0
9
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 https://t.co/zThh6Vcpdi
github.com
-IntOrStr: TypeAlias = int | str +type IntOrStr = int | str from PEP 695
3
1
15
hooray it's getting reverted
github.com
This reverts commit 1f0eafa. More discussion on the issue. Issue: Add AttrDict to JSON module for use with object_hook #96145 📚 Documentation preview 📚: https://cpython-previews--105948.org.r...
0
1
17
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
🚀 Updated January 25th 2025—see update blog post.💰 Release/Black Friday discount: 50% off, from $44 to $22, until the 1st December.This book covers the best command line Git tools, techniques,...
2
2
30
I'll be streaming in ~15 minutes! going to try and fix pycodestyle / pyflakes for 3.12 breakages -- stop by and chat!
twitch.tv
hello hello! I stream programming and primarily work on open source python software -- some of my projects are pre-commit (creator), babi (creator), flake8 (primary maintainer), and many more!
0
0
2