Skip to content

Commit e66de40

Browse files
committed
Switch twitter link to bluesky
1 parent 732c00e commit e66de40

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

cheatsheets.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,8 @@
329329
{\faIcon{stack-overflow}\,stackoverflow.com/questions/tagged/matplotlib}\\
330330
\href{https://gitter.im/matplotlib/matplotlib}
331331
{\faIcon{gitter}\,{https://gitter.im/matplotlib/matplotlib}}\\
332-
\href{https://twitter.com/matplotlib}
333-
{\faIcon{twitter}\,twitter.com/matplotlib}\\
332+
\href{https://bsky.app/profile/matplotlib.org}
333+
{\faIcon{bluesky}\,bsky.app/profile/matplotlib.org}\\
334334
\href{https://mail.python.org/mailman/listinfo/matplotlib-users}
335335
{\faIcon[regular]{envelope}\,Matplotlib users mailing list}
336336
\end{myboxed}

check-links.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,3 @@
1111
status_codes = [pdfx.downloader.get_status_code(ref.ref) for ref in refs]
1212

1313
broken_links = [(ref.ref, code) for ref, code in zip(refs, status_codes) if code != 200]
14-
15-
# it seems that Twitter does not respond well to the link checker and throws a 400
16-
if all(['twitter.com' in url for url, _ in broken_links]):
17-
sys.exit(0)
18-
else:
19-
print('Broken links:', broken_links)
20-
sys.exit(1)

0 commit comments

Comments
 (0)