diff --git a/requirements.txt b/requirements.txt index bf0b56d..ddd1e4b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ black==24.3.0 -pyright==1.1.359 +pyright==1.1.362 isort==5.13.2 diff --git a/unix/.config/lldbdash/dashboard/dashboard.py b/unix/.config/lldbdash/dashboard/dashboard.py index edf166d..26c76a1 100644 --- a/unix/.config/lldbdash/dashboard/dashboard.py +++ b/unix/.config/lldbdash/dashboard/dashboard.py @@ -89,7 +89,7 @@ def print_divider(self, size: "terminal_size", module: "Module", out: Output): def apply_config(self): path = pathlib.Path.cwd() / Dashboard.settings["config-file"].value - if path.is_file() and Dashboard.settings["auto-apply-config"].value: + if Dashboard.settings["auto-apply-config"].value and path.is_file(): config_modified_time = path.stat().st_mtime if config_modified_time > self.config_modified_time: self.config_modified_time = config_modified_time diff --git a/unix/.local/bin/install-ccache b/unix/.local/bin/install-ccache index d2075a7..10d313f 100755 --- a/unix/.local/bin/install-ccache +++ b/unix/.local/bin/install-ccache @@ -12,8 +12,8 @@ __usage() { # https://manpages.debian.org/coreutils/cat cat < [options] -Options: [defaults in brackets after descriptions] - --help|-h|-? print this message +Options: [default value in bracket after description] + --help|-h|-? print this message and exit --prefix directory in which to install [$HOME/.local/bin] EOF