every time I run mypy and wait for it to finish, I wonder if 2025 will be the year of a red knot announcement/release from @charliermarsh and Astral
I already have a placeholder issue on my cookiecutter template repo: https://github.com/cthoyt/cookiecutter-snekpack/issues/12
[#]python #typing #typeannotations #mypy #ruff #uv
=> More informations about this toot | View the thread
@ORCID_Org your sign-in workflow with Google hasn't been working for me for a few days
=> More informations about this toot | View the thread
thank you @petrichor for helping with my PR on @pandoc 🙏
=> More informations about this toot | View the thread
@opencitations is there a PMID-PMID dump available yet?
=> More informations about this toot | View the thread
Earlier this week, I made small but meaningful PR to an open source project I use daily, but actually doesn't have much code churn. I put a lot of effort to write a good and descriptive issue, and a readable diff for the PR itself.
It got merged a day later, and the maintainer invited me to stop by for some nice drinks if I'm ever in their neighborhood in the Italian Alps.
This is how open source should look ^
[#]opensource #github #python
=> More informations about this toot | View the thread
I'm trying to use mypy inside tox with tox-uv, but mypy's --install-types flag hardcodes the usage of pip. When you're using tox-uv, pip is no longer installed in the environment because uv does the heavy lifting with uv pip install
as a faster alternative to pip install
Here's my attempt at making mypy more configurable so it can install types using uv:
https://github.com/python/mypy/compare/master...cthoyt:mypy:uv-installer
[#]python #packaging #typing #uv #mypy #tox #virtualenv
=> More informations about this toot | View the thread
Finally got my Python cookiecutter template to use uv instead of twine in https://github.com/cthoyt/cookiecutter-snekpack/pull/35!
I also upgraded it to use keyring instead of the .pypirc file, which is much more secure
Now, all that's left is to wait for Astral to finish their build backend to replace setuptools, and my packages will have a full uv stack 🌞
[#]python #packaging #uv #astral
=> More informations about this toot | View the thread
Does anyone know if @readthedocs is working towards supporting PEP-0735 dependency groups?
I'm still using extra_requirements
in my readthedocs.yml (c.f., https://docs.readthedocs.io/en/stable/config-file/v2.html#packages) but want to switch over for my documentation requirements!
[#]python #packaging
=> More informations about this toot | View the thread
"people write down [database] migrations but those are lies" - Scott
=> More informations about this toot | View the thread
Every time an external contributor makes a PR to a curation project that requires an explanation of how to fix it, that's an opportunity to write more curation guides.
[#]openscience #opendata #opencode #biocuration
=> More informations about this toot | View the thread
also what does it say that there are so many authors on this list and none of them ever asked, does this work?
=> More informations about this toot | View the thread
the idea in https://www.nature.com/articles/s43856-024-00625-5 is interesting, but the code (https://doi.org/10.5522/04/25541392.v1) can't be rerun
At least they posted it. It's a start, but it's the same as a recipe for a cookbook that tells you to add in some secret spices, and you're wondering "which ones?"
[#]reproducibilitycrisis #incentivescrisis
=> More informations about this toot | View the thread
excited for uv to replace setuptools following https://github.com/astral-sh/uv/pull/7901 and https://github.com/astral-sh/uv/pull/7976
ty @charliermarsh and crew. Does Astral have a mastodon handle?
[#]uv #packaging #python #pythonuv
=> More informations about this toot | View the thread
things aren't going well. Haskell is winning.
=> More informations about this toot | View the thread
uv adds a "publish" command, adding twine
to the list of tools it supersedes
https://github.com/astral-sh/uv/pull/7475
[#]python #tooling #packaging
=> More informations about this toot | View the thread
learned some Lua to contribute to @joss. Now learning Haskell to contribute upstream to @pandoc 🙃
=> More informations about this toot | View the thread
@egonw @wikipathways it seems like https://new.wikipathways.org/academy/ is down, is there a new link for the tutorial?
=> More informations about this toot | View the thread
@dr_greg_landrum how would you feel about a PR to https://github.com/greglandrum/rdkit-blog that applies ruff to format all the Python code in the notebooks?
=> More informations about this toot | View the thread
@typst I am super excited to use you, but there is a total deluge of ugly templates. It would be great if you provided some high quality ones for us to get started with.
=> More informations about this toot | View the thread
The @ResearchOrgs integration I mentioned I was writing for @joss in https://scholar.social/@cthoyt/113028131169285000 is now merged!
You can now add a ror
key in the affiliations list 🦁
=> More informations about this toot | View the thread
=> This profile with reblog | Go to cthoyt@scholar.social account This content has been proxied by September (3851b).Proxy Information
text/gemini