Anthony Sottile Profile
Anthony Sottile

@codewithanthony

Followers
6K
Following
4K
Media
998
Statuses
6K

Joined March 2017
Don't wanna be here? Send us removal request.
@codewithanthony
Anthony Sottile
2 years
I probably won't be checking this very often so if you need me I'm `asottile` on discord
1
0
22
@pre_commit_ci
pre-commit.ci
2 years
[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
Tweet card summary image
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
pre-commit.ci
2 years
pre-commit ci now has python 3.12 support (and python 3.7 has been removed) -- full details here:
0
1
18
@codewithanthony
Anthony Sottile
2 years
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
pre-commit.ci
2 years
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
@codewithanthony
Anthony Sottile
2 years
a PROGRESS BAR for saving cookie preferences???
3
1
31
@codewithanthony
Anthony Sottile
2 years
agile russian roulette: you take turns opening up a jira ticket and touching your yubikey
1
1
11
@shazrobot
shazrobot
2 years
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
@codewithanthony
Anthony Sottile
2 years
interesting problem... @pre_commit_ci is so fast that sometimes github records the statuses out of order
0
0
18
@AdamChainz
Adam “Mastodon or Bluesky” Johnson
2 years
🍿 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
@codewithanthony
Anthony Sottile
2 years
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
@codewithanthony
Anthony Sottile
2 years
flake8 6.1 has been released! this adds support for python 3.12 among other things --
0
1
31
@codewithanthony
Anthony Sottile
2 years
Twitter fired almost all of their engineers just so they can say they have 10 X engineers
3
14
144
@mblayman
Matt Layman
2 years
@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!
Tweet card summary image
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
@codewithanthony
Anthony Sottile
2 years
lmao d iffgram is trying to strike my YouTube video which shows their sketchy business practices
0
0
9
@codewithanthony
Anthony Sottile
2 years
_____ considered djangerous
1
0
9
@codewithanthony
Anthony Sottile
2 years
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
Tweet card summary image
github.com
-IntOrStr: TypeAlias = int | str +type IntOrStr = int | str from PEP 695
3
1
15
@codewithanthony
Anthony Sottile
2 years
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`):
Tweet card summary image
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