`.config.get_app_dir()`: link to `click`'s orig impl on GH

rando_data_subsys_styling
Tyler Goodlet 2025-12-30 11:03:42 -05:00
parent 4b1fa2173b
commit b2b0e4c40d
1 changed files with 7 additions and 4 deletions

View File

@ -41,10 +41,13 @@ from .log import get_logger
log = get_logger('broker-config')
# XXX NOTE: taken from ``click`` since apparently they have some
# super weirdness with sigint and sudo..no clue
# we're probably going to slowly just modify it to our own version over
# time..
# XXX NOTE: taken from `click`
# |_https://github.com/pallets/click/blob/main/src/click/utils.py#L449
#
# (since apparently they have some super weirdness with SIGINT and
# sudo.. no clue we're probably going to slowly just modify it to our
# own version over time..)
#
def get_app_dir(
app_name: str,
roaming: bool = True,