#yore — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #yore, aggregated by home.social.
-
So cool to stumble on an episode of @pythonbytes where they talk about my tool Yore ☺️
https://www.youtube.com/live/HCRfjkbSbmE?si=Ydiuz_vxxHX5Cih6
https://github.com/pawamoy/yore
Yore supports marking legacy code for Python versions but also for the current project version. I plan to support dependencies versions too (and more ecosystems, like Rust).
-
Presenting #Yore again, because it's a nice little tool for library maintainers:
- mark legacy code with comments: `# YORE: EOL 3.9: Remove line`
- check periodically: `yore check`
- see applied diff (dry-run): `yore diff`
- actually fix comments: `yore fix` -
I'm marking all the deprecated stuff in #Griffe with #Yore comments.
Yore is a new tool of mine that helps you manage legacy code. You write comments above lines or blocks of code, with a simple grammar for applying transformations once a version is reached (e.g. 1.0.0) or once a minor Python version reaches its End Of Life.