Skip to content

Instantly share code, notes, and snippets.

View durden's full-sized avatar

Luke Lee durden

View GitHub Profile
@durden
durden / notes.md
Last active July 14, 2021 07:28
Script, Library, or Executable: You can have it all!
@durden
durden / parse_codeowners.py
Last active January 31, 2025 21:02
Faster way to check CODEOWNERS on specific file/folders
"""
To use this you'll need the following installed into your env
- https://pypi.org/project/codeowners/
- https://pypi.org/project/tabulate/
Another approach to installing everything would be to use uv's scripts-dependency functionality:
- https://docs.astral.sh/uv/guides/scripts/#declaring-script-dependencies
Then using `uvx url-to-gist` with https://docs.astral.sh/uv/guides/tools/#requesting-different-sources