diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 213dd15..148c501 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -13,3 +13,4 @@ jobs: run: nix-fast-build --no-nom --systems "x86_64-linux aarch64-linux" --attic-cache "nixfleet" --skip-cached --result-file result.json || true - name: Report checks run: report-checks + diff --git a/.forgejo/workflows/update-flake-lock.yaml b/.forgejo/workflows/update-flake-lock.yaml index 7a45fc4..eadba29 100644 --- a/.forgejo/workflows/update-flake-lock.yaml +++ b/.forgejo/workflows/update-flake-lock.yaml @@ -1,7 +1,7 @@ name: update-flake-lock on: schedule: - - cron: "0 15 * * *" # daily at 15:00 + - cron: '0 15 * * *' # daily at 15:00 jobs: lockfile: @@ -32,4 +32,4 @@ jobs: --title "Update flake's lockfile" \ --description "Check the commit description for inputs deltas" \ --assignees aciceri \ - || echo "PR already existing" + || echo "PR already existing" diff --git a/checks/default.nix b/checks/default.nix index 5bca772..741d164 100644 --- a/checks/default.nix +++ b/checks/default.nix @@ -19,21 +19,7 @@ flakeCheck = true; programs = { nixfmt.enable = true; - prettier.enable = true; - black.enable = true; - shfmt.enable = true; }; - settings.global.excludes = [ - "*.age" - "*.svg" - "*.png" - "*.jpg" - "*.bin" - "*.el" - "*.org" - ".envrc" - "*.conf" - ]; }; pre-commit.settings = { diff --git a/flake.lock b/flake.lock index 4e3b005..33af5b3 100644 --- a/flake.lock +++ b/flake.lock @@ -119,11 +119,11 @@ "nixpkgs-stable": "nixpkgs-stable" }, "locked": { - "lastModified": 1734515037, - "narHash": "sha256-+DiZ5e6iZEawmqgpwLjP709pkXyuvSApmXkjYnY4yqE=", + "lastModified": 1734427318, + "narHash": "sha256-NQ1bI/iV5N7zGcfFd0+SYdh4O5EYBzJ7mTR9j6K1QWQ=", "owner": "nix-community", "repo": "emacs-overlay", - "rev": "d7697bf2004fcb6508d3bf146e94fff59ecb2db9", + "rev": "08c065bf80654e214e8ded2d27b0dea39c66f452", "type": "github" }, "original": { @@ -996,11 +996,11 @@ }, "nixpkgs_7": { "locked": { - "lastModified": 1734424634, - "narHash": "sha256-cHar1vqHOOyC7f1+tVycPoWTfKIaqkoe1Q6TnKzuti4=", + "lastModified": 1734119587, + "narHash": "sha256-AKU6qqskl0yf2+JdRdD0cfxX4b9x3KKV5RqA6wijmPM=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "d3c42f187194c26d9f0309a8ecc469d6c878ce33", + "rev": "3566ab7246670a43abd2ffa913cc62dad9cdf7d5", "type": "github" }, "original": { diff --git a/hmModules/firefox/catppuccin.css b/hmModules/firefox/catppuccin.css index 6085f2a..8cad578 100644 --- a/hmModules/firefox/catppuccin.css +++ b/hmModules/firefox/catppuccin.css @@ -1,193 +1,187 @@ -:root { - /* Catppuccin Colors */ - --bg: #1e1e2e; - --currentline: #302d41; - --fg: #d9e0ee; - --comment: #575268; - --flamingo: #f2cdcd; - --mauve: #ddb6f2; - --pink: #f5c2e7; - --maroon: #e8a2af; - --red: #f28fad; - --peach: #f8bd96; - --yellow: #fae3b0; - --green: #abe9b3; - --teal: #b5e8e0; - --blue: #96cdfb; - --sky: #89dceb; - --lavender: #c9cbff; - --rosewater: #f5e0dc; - --font: monospace; /*"FiraCode Nerd Font Mono";*/ +:root { /* Catppuccin Colors */ + --bg: #1e1e2e; + --currentline: #302D41; + --fg: #d9e0ee; + --comment: #575268; + --flamingo: #f2cdcd; + --mauve: #ddb6f2; + --pink: #f5c2e7; + --maroon: #e8a2af; + --red: #f28fad; + --peach: #f8bd96; + --yellow: #fae3b0; + --green: #abe9b3; + --teal: #b5e8e0; + --blue: #96cdfb; + --sky: #89dceb; + --lavender: #c9cbff; + --rosewater: #f5e0dc; + --font: monospace; /*"FiraCode Nerd Font Mono";*/ - /* vimium theme uses colors: flamingo, peach, rosewater, green, blue, lavender */ - --tridactyl-fg: var(--fg); - --tridactyl-bg: var(--bg); - --tridactyl-url-fg: var(--rosewater); - --tridactyl-url-bg: var(--bg); - --tridactyl-highlight-box-bg: var(--currentline); - --tridactyl-highlight-box-fg: var(--fg); - --tridactyl-of-fg: var(--fg); - --tridactyl-of-bg: var(--currentline); - --tridactyl-cmdl-fg: var(--bg); - --tridactyl-cmdl-font-family: var(--font); - --tridactyl-cmplt-font-family: var(--font); - --tridactyl-hintspan-font-family: var(--font); + /* vimium theme uses colors: flamingo, peach, rosewater, green, blue, lavender */ + --tridactyl-fg: var(--fg); + --tridactyl-bg: var(--bg); + --tridactyl-url-fg: var(--rosewater); + --tridactyl-url-bg: var(--bg); + --tridactyl-highlight-box-bg: var(--currentline); + --tridactyl-highlight-box-fg: var(--fg); + --tridactyl-of-fg: var(--fg); + --tridactyl-of-bg: var(--currentline); + --tridactyl-cmdl-fg: var(--bg); + --tridactyl-cmdl-font-family: var(--font); + --tridactyl-cmplt-font-family: var(--font); + --tridactyl-hintspan-font-family: var(--font); - /* Hint character tags */ - --tridactyl-hintspan-fg: var(--bg) !important; - --tridactyl-hintspan-bg: var(--green) !important; + /* Hint character tags */ + --tridactyl-hintspan-fg: var(--bg) !important; + --tridactyl-hintspan-bg: var(--green) !important; - /* Element Highlights */ - --tridactyl-hint-active-fg: none; - --tridactyl-hint-active-bg: none; - --tridactyl-hint-active-outline: none; - --tridactyl-hint-bg: none; - --tridactyl-hint-outline: none; + /* Element Highlights */ + --tridactyl-hint-active-fg: none; + --tridactyl-hint-active-bg: none; + --tridactyl-hint-active-outline: none; + --tridactyl-hint-bg: none; + --tridactyl-hint-outline: none; } #command-line-holder { - order: 1; - border: 2px solid var(--lavender); - background: var(--tridactyl-bg); + order: 1; + border: 2px solid var(--lavender); + background: var(--tridactyl-bg); } #tridactyl-input { - padding: 1rem; - color: var(--tridactyl-fg); - width: 90%; - font-size: 1.5rem; - line-height: 1.5; - background: var(--tridactyl-bg); - padding-left: unset; - padding: 1rem; + padding: 1rem; + color: var(--tridactyl-fg); + width: 90%; + font-size: 1.5rem; + line-height: 1.5; + background: var(--tridactyl-bg); + padding-left: unset; + padding: 1rem; } #completions table { - font-size: 0.8rem; - font-weight: 200; - border-spacing: 0; - table-layout: fixed; - padding: 1rem 0; - /* padding-top: 1rem; */ - /* padding-bottom: 1rem; */ + font-size: 0.8rem; + font-weight: 200; + border-spacing: 0; + table-layout: fixed; + padding: 1rem 0; + /* padding-top: 1rem; */ + /* padding-bottom: 1rem; */ } #completions > div { - max-height: calc(20 * var(--option-height)); - min-height: calc(10 * var(--option-height)); + max-height: calc(20 * var(--option-height)); + min-height: calc(10 * var(--option-height)); } /* COMPLETIONS */ #completions { - --option-height: 1.4em; - color: var(--tridactyl-fg); - background: var(--tridactyl-bg); - display: inline-block; - font-size: unset; - font-weight: 200; - overflow: hidden; - width: 100%; - border-top: unset; - order: 2; + --option-height: 1.4em; + color: var(--tridactyl-fg); + background: var(--tridactyl-bg); + display: inline-block; + font-size: unset; + font-weight: 200; + overflow: hidden; + width: 100%; + border-top: unset; + order: 2; } /* Olie doesn't know how CSS inheritance works */ #completions .HistoryCompletionSource { - max-height: unset; - min-height: unset; + max-height: unset; + min-height: unset; } #completions .HistoryCompletionSource table { - width: 100%; - font-size: 9pt; - border-spacing: 0; - table-layout: fixed; + width: 100%; + font-size: 9pt; + border-spacing: 0; + table-layout: fixed; } /* redundancy 2: redundancy 2: more redundancy */ #completions .BmarkCompletionSource { - max-height: unset; - min-height: unset; + max-height: unset; + min-height: unset; } -#completions table tr td.prefix, -#completions table tr td.privatewindow, -#completions table tr td.container, -#completions table tr td.icon { - display: none; +#completions table tr td.prefix,#completions table tr td.privatewindow,#completions table tr td.container,#completions table tr td.icon { + display: none; } #completions .BufferCompletionSource table { - width: unset; - font-size: unset; - border-spacing: unset; - table-layout: unset; + width: unset; + font-size: unset; + border-spacing: unset; + table-layout: unset; } -#completions table tr .title, -#completions table tr td.excmd { - width: 50%; - padding-left: 1rem; - color: var(--blue); +#completions table tr .title, #completions table tr td.excmd { + width: 50%; + padding-left: 1rem; + color: var(--blue); } -#completions table tr .content, -#completions table tr td.documentation { +#completions table tr .content, #completions table tr td.documentation { padding-right: 1rem; } #completions table tr { - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } #completions table tr td { - padding: 0.5rem 0; + padding: .5rem 0; } #completions .sectionHeader { - background: unset; - font-weight: bold; - border-bottom: unset; - padding: 1rem 1rem 0 !important; - padding-left: unset; - padding-bottom: 0.2rem; - color: var(--peach); + background: unset; + font-weight: bold; + border-bottom: unset; + padding: 1rem 1rem 0 !important; + padding-left: unset; + padding-bottom: 0.2rem; + color: var(--peach); } #cmdline_iframe { - position: fixed !important; - bottom: unset; - top: 25% !important; - left: 10% !important; - z-index: 2147483647 !important; - width: 80% !important; - box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 20px !important; + position: fixed !important; + bottom: unset; + top: 25% !important; + left: 10% !important; + z-index: 2147483647 !important; + width: 80% !important; + box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 20px !important; } .TridactylStatusIndicator { - position: fixed !important; - bottom: 0 !important; - background: var(--tridactyl-bg) !important; - border: unset !important; - border: 1px var(--purple) solid !important; - font-size: 12pt !important; - /*font-weight: 200 !important;*/ - padding: 0.8ex !important; + position: fixed !important; + bottom: 0 !important; + background: var(--tridactyl-bg) !important; + border: unset !important; + border: 1px var(--purple) solid !important; + font-size: 12pt !important; + /*font-weight: 200 !important;*/ + padding: 0.8ex !important; } #completions .focused { - background: var(--currentline); - /* color: var(--blue); */ - font-weight: bold; + background: var(--currentline); + /* color: var(--blue); */ + font-weight: bold; } #completions .focused td.title { color: var(--pink); } #completions .focused .url { - background: var(--currentline); - color: var(--green); + background: var(--currentline); + color: var(--green); } diff --git a/hmModules/firefox/userchrome.css b/hmModules/firefox/userchrome.css index 8e27216..7abb436 100644 --- a/hmModules/firefox/userchrome.css +++ b/hmModules/firefox/userchrome.css @@ -1,24 +1,19 @@ + /* * Do not remove the @namespace line -- it's required for correct functioning */ /* set default namespace to XUL */ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* Remove Back button when there's nothing to go Back to */ -#back-button[disabled="true"] { - display: none; -} +#back-button[disabled="true"] { display: none; } /* Remove Forward button when there's nothing to go Forward to */ -#forward-button[disabled="true"] { - display: none; -} +#forward-button[disabled="true"] { display: none; } /* Remove Home button (never use it) */ -#home-button { - display: none; -} +#home-button { display: none; } .titlebar-spacer { - display: none !important; + display: none !important; } /* Remove import bookmarks button */ @@ -32,8 +27,7 @@ toolbarbutton.bookmark-item:not(.subviewbutton) { } /* Remove whitespace in toolbar */ -#nav-bar toolbarpaletteitem[id^="wrapper-customizableui-special-spring"], -#nav-bar toolbarspring { +#nav-bar toolbarpaletteitem[id^="wrapper-customizableui-special-spring"], #nav-bar toolbarspring { display: none; } @@ -59,8 +53,8 @@ toolbarbutton.bookmark-item:not(.subviewbutton) { } .titlebar-restore { - appearance: auto !important; - -moz-default-appearance: -moz-window-button-restore !important; + appearance: auto !important; + -moz-default-appearance: -moz-window-button-restore !important; } .titlebar-close { diff --git a/hmModules/waybar/style.css b/hmModules/waybar/style.css index 1358583..edb1ecd 100644 --- a/hmModules/waybar/style.css +++ b/hmModules/waybar/style.css @@ -3,6 +3,7 @@ border-radius: 0; min-height: 0; font-family: Fira Code; + } window#waybar { @@ -22,8 +23,7 @@ window#waybar { box-shadow: inset 0 -5px red; } -#workspaces button.focused, -#workspaces button:hover { +#workspaces button.focused, #workspaces button:hover { box-shadow: inset 0 -5px white; } @@ -39,16 +39,7 @@ window#waybar { /* color: @unfocused_borders; */ } -#pulseaudio, -#network, -#cpu, -#memory, -#disk, -#temperature, -#battery, -#language, -#clock, -#tray { +#pulseaudio, #network, #cpu, #memory, #disk, #temperature, #battery, #language, #clock, #tray { margin: 0 4px; padding: 0 2px; } diff --git a/hosts/archer/#default.nix# b/hosts/archer/#default.nix# new file mode 100644 index 0000000..cbde1a4 --- /dev/null +++ b/hosts/archer/#default.nix# @@ -0,0 +1,26 @@ +{pkgs, ...}: { + # $ nix-env -qaP | grep wget + environment.systemPackages = + [ pkgs.vim + ]; + + # # Auto upgrade nix package and the daemon service. + # services.nix-daemon.enable = true; + # # nix.package = pkgs.nix; + + # # Necessary for using flakes on this system. + # nix.settings.experimental-features = "nix-command flakes"; + + # # Create /etc/zshrc that loads the nix-darwin environment. + # programs.zsh.enable = true; # default shell on catalina + # # programs.fish.enable = true; + + # # # Set Git commit hash for darwin-version. + # # system.configurationRevision = self.rev or self.dirtyRev or null; + + # # Used for backwards compatibility, please read the changelog before changing. + # # $ darwin-rebuild changelog + # system.stateVersion = 4; + + # # The platform the configuration will be used on. +} diff --git a/modules/cgit/custom.css b/modules/cgit/custom.css index aacb9d8..b3f4f42 100644 --- a/modules/cgit/custom.css +++ b/modules/cgit/custom.css @@ -4,154 +4,83 @@ @import url("cgit.css"); -* { - line-height: 1.25em; -} +* { line-height: 1.25em; } div#cgit { - max-width: 117ch; - margin: auto; - font-family: monospace; - -moz-tab-size: 4; - tab-size: 4; + max-width: 117ch; + margin: auto; + font-family: monospace; + -moz-tab-size: 4; + tab-size: 4; } div#cgit table#header td.sub { - border-top: none; + border-top: none; } div#cgit table#header td.sub.right { - padding-right: 1em; + padding-right: 1em; } div#cgit table.tabs { - border-bottom: none; + border-bottom: none; } div#cgit div.content { - border-bottom: none; + border-bottom: none; } div#cgit table.list th a { - color: inherit; + color: inherit; } div#cgit table.list tr:nth-child(even) { - background: inherit; + background: inherit; } div#cgit table.list tr:hover { - background: inherit; + background: inherit; } div#cgit table.list tr.nohover-highlight:hover:nth-child(even) { - background: inherit; + background: inherit; } div#cgit table.blob td.linenumbers a:target { - color: goldenrod; - text-decoration: underline; - outline: none; + color: goldenrod; + text-decoration: underline; + outline: none; } div#cgit div#summary { - max-width: 80ch; + max-width: 80ch; } /* for hilex(1) */ -div#cgit pre .Ke { - color: dimgray; -} -div#cgit pre .Ma { - color: green; -} -div#cgit pre .Co { - color: navy; -} -div#cgit pre .St { - color: teal; -} -div#cgit pre .Fo { - color: teal; - font-weight: bold; -} -div#cgit pre .Su { - color: olive; -} +div#cgit pre .Ke { color: dimgray; } +div#cgit pre .Ma { color: green; } +div#cgit pre .Co { color: navy; } +div#cgit pre .St { color: teal; } +div#cgit pre .Fo { color: teal; font-weight: bold; } +div#cgit pre .Su { color: olive; } /* for htagml(1) */ -div#cgit pre a.tag { - color: inherit; - text-decoration: underline; -} -div#cgit pre a.tag:target { - color: goldenrod; - outline: none; -} +div#cgit pre a.tag { color: inherit; text-decoration: underline; } +div#cgit pre a.tag:target { color: goldenrod; outline: none; } /* for mandoc(1) */ -table.head, -table.foot { - width: 100%; -} -td.head-rtitle, -td.foot-os { - text-align: right; -} -td.head-vol { - text-align: center; -} -div.Pp { - margin: 1ex 0ex; -} -div.Nd, -div.Bf, -div.Op { - display: inline; -} -span.Pa, -span.Ad { - font-style: italic; -} -span.Ms { - font-weight: bold; -} -dl.Bl-diag > dt { - font-weight: bold; -} -code.Nm, -code.Fl, -code.Cm, -code.Ic, -code.In, -code.Fd, -code.Fn, -code.Cd { - font-weight: bold; - font-family: inherit; -} +table.head, table.foot { width: 100%; } +td.head-rtitle, td.foot-os { text-align: right; } +td.head-vol { text-align: center; } +div.Pp { margin: 1ex 0ex; } +div.Nd, div.Bf, div.Op { display: inline; } +span.Pa, span.Ad { font-style: italic; } +span.Ms { font-weight: bold; } +dl.Bl-diag > dt { font-weight: bold; } +code.Nm, code.Fl, code.Cm, code.Ic, code.In, code.Fd, code.Fn, +code.Cd { font-weight: bold; font-family: inherit; } -h1.Sh { - font-size: 1.5em; -} -table.Nm td:first-child { - padding-right: 1ch; -} -code.Fl { - white-space: nowrap; -} -span.RsT { - font-style: italic; -} -dl.Bl-tag:not(.Bl-compact) > dt { - margin-top: 1em; -} -ul.Bl-bullet:not(.Bl-compact) > li { - margin-top: 1em; -} -div.Bd-indent { - margin-left: 4ch; -} -table.Bl-column { - width: 100%; -} -table.foot { - margin-top: 1em; -} +h1.Sh { font-size: 1.5em; } +table.Nm td:first-child { padding-right: 1ch; } +code.Fl { white-space: nowrap; } +span.RsT { font-style: italic; } +dl.Bl-tag:not(.Bl-compact) > dt { margin-top: 1em; } +ul.Bl-bullet:not(.Bl-compact) > li { margin-top: 1em; } +div.Bd-indent { margin-left: 4ch; } +table.Bl-column { width: 100%; } +table.foot { margin-top: 1em; } -div#cgit a.permalink { - color: inherit; -} +div#cgit a.permalink { color: inherit; } diff --git a/packages/deploy/deploy.sh b/packages/deploy/deploy.sh index 9e9715b..5e1b791 100644 --- a/packages/deploy/deploy.sh +++ b/packages/deploy/deploy.sh @@ -1,9 +1,9 @@ host=${1-picard} nixos-rebuild switch \ - --flake ".#${host}" \ - --target-host "root@${host}.fleet" \ - --build-host "root@${host}.fleet" \ - --option warn-dirty false \ - --fast \ - "${@:2}" + --flake ".#${host}" \ + --target-host "root@${host}.fleet" \ + --build-host "root@${host}.fleet" \ + --option warn-dirty false \ + --fast \ + "${@:2}" diff --git a/packages/emails-watcher/emails-watcher.py b/packages/emails-watcher/emails-watcher.py index 7188082..b9716da 100644 --- a/packages/emails-watcher/emails-watcher.py +++ b/packages/emails-watcher/emails-watcher.py @@ -13,21 +13,24 @@ class MaildirHandler(FileSystemEventHandler): def on_created(self, event): if not event.is_directory: print(f"New email found: {event.src_path}") - with open(event.src_path, "r") as email_file: + with open(event.src_path, 'r') as email_file: msg = message_from_file(email_file) print(f'{msg["From"]}: {msg["Subject"]}') self.notifier.send( - title=msg["From"], - message=msg["Subject"], - sound=DEFAULT_SOUND, - icon=Icon(name="mail-message-new"), - timeout=20, + title=msg["From"], + message=msg["Subject"], + sound=DEFAULT_SOUND, + icon=Icon(name="mail-message-new"), + timeout=20 ) if __name__ == "__main__": maildir_new = os.path.expanduser(os.environ.get("INBOX_NEW")) - notifier = DesktopNotifierSync(app_name="Mails", notification_limit=10) + notifier = DesktopNotifierSync( + app_name="Mails", + notification_limit=10 + ) event_handler = MaildirHandler(notifier) observer = Observer() diff --git a/packages/forgejo-report-checks/forgejo-report-checks.py b/packages/forgejo-report-checks/forgejo-report-checks.py index 52004c4..538399f 100644 --- a/packages/forgejo-report-checks/forgejo-report-checks.py +++ b/packages/forgejo-report-checks/forgejo-report-checks.py @@ -4,20 +4,18 @@ from pyforgejo.models.create_status_option import CreateStatusOption import json from os import environ -client = AuthenticatedClient( - base_url=environ["GITHUB_API_URL"], token=environ["GITHUB_TOKEN"] -) +client = AuthenticatedClient(base_url=environ["GITHUB_API_URL"], token=environ["GITHUB_TOKEN"]) -with open("result.json", "r") as file: +with open('result.json', 'r') as file: data = json.load(file) print("Reporting statuses acording to the following result.json") print(json.dumps(data, indent=2)) -for result in data["results"]: - attr = result["attr"] - success = result["success"] - type = result["type"] +for result in data['results']: + attr = result['attr'] + success = result['success'] + type = result['type'] print(f"Report status success={success} for {type} {attr}") response = repo_create_status.sync_detailed( owner="aciceri", @@ -28,10 +26,8 @@ for result in data["results"]: context=type, description=attr, target_url="https://git.aciceri.dev", # FIXME - state=( - "success" if success else "failure" - ), # may be pending,success,failure,error_message - ), + state="success" if success else "failure" # may be pending,success,failure,error_message + ) ) print("Done reporting statuses") diff --git a/packages/garmin-collector/garmin-collector.py b/packages/garmin-collector/garmin-collector.py index a61b4d3..f296638 100644 --- a/packages/garmin-collector/garmin-collector.py +++ b/packages/garmin-collector/garmin-collector.py @@ -66,19 +66,8 @@ class GarminCollector: def collect(self): try: body = self.api.get_daily_weigh_ins(today.isoformat())["totalAverage"] - metric_gauge = GaugeMetricFamily( - "body_composition", "Body composition and weight", labels=["metric"] - ) - for k in [ - "weight", - "bmi", - "bodyFat", - "bodyWater", - "boneMass", - "muscleMass", - "physiqueRating", - "visceralFat", - ]: + metric_gauge = GaugeMetricFamily("body_composition", "Body composition and weight", labels=["metric"]) + for k in ["weight", "bmi", "bodyFat", "bodyWater", "boneMass", "muscleMass", "physiqueRating", "visceralFat"]: metric_gauge.add_metric([k], body[k]) except Exception as e: print(f"Something went wrong while fetching body composition data\n{e}") @@ -90,4 +79,4 @@ if __name__ == "__main__": registry = CollectorRegistry() registry.register(GarminCollector()) - push_to_gateway(gateway_address, job="garmin", registry=registry) + push_to_gateway(gateway_address, job='garmin', registry=registry) diff --git a/packages/llm-workflow-engine/lock.json b/packages/llm-workflow-engine/lock.json index c1c3e18..061111f 100644 --- a/packages/llm-workflow-engine/lock.json +++ b/packages/llm-workflow-engine/lock.json @@ -653,11 +653,25 @@ }, "targets": { "default": { - "aiohttp": ["aiosignal", "attrs", "frozenlist", "multidict", "yarl"], - "aiosignal": ["frozenlist"], - "alembic": ["mako", "sqlalchemy", "typing-extensions"], + "aiohttp": [ + "aiosignal", + "attrs", + "frozenlist", + "multidict", + "yarl" + ], + "aiosignal": [ + "frozenlist" + ], + "alembic": [ + "mako", + "sqlalchemy", + "typing-extensions" + ], "annotated-types": [], - "ansible": ["ansible-core"], + "ansible": [ + "ansible-core" + ], "ansible-core": [ "cryptography", "jinja2", @@ -665,27 +679,45 @@ "pyyaml", "resolvelib" ], - "anyio": ["idna", "sniffio"], + "anyio": [ + "idna", + "sniffio" + ], "argcomplete": [], "attrs": [], - "beautifulsoup4": ["soupsieve"], - "build": ["packaging", "pyproject-hooks"], + "beautifulsoup4": [ + "soupsieve" + ], + "build": [ + "packaging", + "pyproject-hooks" + ], "certifi": [], - "cffi": ["pycparser"], + "cffi": [ + "pycparser" + ], "chardet": [], "charset-normalizer": [], "click": [], "colorclass": [], "compressed-rtf": [], - "cryptography": ["cffi"], - "dataclasses-json": ["marshmallow", "typing-inspect"], + "cryptography": [ + "cffi" + ], + "dataclasses-json": [ + "marshmallow", + "typing-inspect" + ], "distro": [], "dnspython": [], "docutils": [], "docx2txt": [], "easygui": [], "ebcdic": [], - "email-validator": ["dnspython", "idna"], + "email-validator": [ + "dnspython", + "idna" + ], "et-xmlfile": [], "extract-msg": [ "beautifulsoup4", @@ -699,12 +731,25 @@ "frozenlist": [], "greenlet": [], "h11": [], - "httpcore": ["certifi", "h11"], - "httpx": ["anyio", "certifi", "httpcore", "idna", "sniffio"], + "httpcore": [ + "certifi", + "h11" + ], + "httpx": [ + "anyio", + "certifi", + "httpcore", + "idna", + "sniffio" + ], "idna": [], "iniconfig": [], - "jinja2": ["markupsafe"], - "jsonpatch": ["jsonpointer"], + "jinja2": [ + "markupsafe" + ], + "jsonpatch": [ + "jsonpointer" + ], "jsonpointer": [], "langchain": [ "aiohttp", @@ -740,21 +785,42 @@ "pyyaml", "tenacity" ], - "langchain-openai": ["langchain-core", "openai", "tiktoken"], - "langchain-text-splitters": ["langchain-core"], - "langsmith": ["orjson", "pydantic", "requests"], + "langchain-openai": [ + "langchain-core", + "openai", + "tiktoken" + ], + "langchain-text-splitters": [ + "langchain-core" + ], + "langsmith": [ + "orjson", + "pydantic", + "requests" + ], "lark": [], "lxml": [], - "mako": ["markupsafe"], - "markdown-it-py": ["mdurl"], + "mako": [ + "markupsafe" + ], + "markdown-it-py": [ + "mdurl" + ], "markupsafe": [], - "marshmallow": ["packaging"], + "marshmallow": [ + "packaging" + ], "mdurl": [], - "msoffcrypto-tool": ["cryptography", "olefile"], + "msoffcrypto-tool": [ + "cryptography", + "olefile" + ], "multidict": [], "mypy-extensions": [], "names": [], - "numexpr": ["numpy"], + "numexpr": [ + "numpy" + ], "numpy": [], "olefile": [], "oletools": [ @@ -774,11 +840,16 @@ "tqdm", "typing-extensions" ], - "openpyxl": ["et-xmlfile"], + "openpyxl": [ + "et-xmlfile" + ], "orjson": [], "packaging": [], "pcodedmp": [], - "pdfminer-six": ["charset-normalizer", "cryptography"], + "pdfminer-six": [ + "charset-normalizer", + "cryptography" + ], "pillow": [], "pip": [], "pip-tools": [ @@ -790,31 +861,68 @@ "wheel" ], "pluggy": [], - "prompt-toolkit": ["wcwidth"], + "prompt-toolkit": [ + "wcwidth" + ], "pycparser": [], - "pydantic": ["annotated-types", "pydantic-core", "typing-extensions"], - "pydantic-core": ["typing-extensions"], + "pydantic": [ + "annotated-types", + "pydantic-core", + "typing-extensions" + ], + "pydantic-core": [ + "typing-extensions" + ], "pygments": [], "pyparsing": [], "pyperclip": [], "pyproject-hooks": [], - "pytest": ["iniconfig", "packaging", "pluggy"], - "pytest-datadir": ["pytest"], - "python-frontmatter": ["pyyaml"], - "python-pptx": ["lxml", "pillow", "xlsxwriter"], + "pytest": [ + "iniconfig", + "packaging", + "pluggy" + ], + "pytest-datadir": [ + "pytest" + ], + "python-frontmatter": [ + "pyyaml" + ], + "python-pptx": [ + "lxml", + "pillow", + "xlsxwriter" + ], "pyyaml": [], "red-black-tree-mod": [], "regex": [], - "requests": ["certifi", "charset-normalizer", "idna", "urllib3"], + "requests": [ + "certifi", + "charset-normalizer", + "idna", + "urllib3" + ], "resolvelib": [], - "rich": ["markdown-it-py", "pygments"], - "rtfde": ["lark", "oletools"], + "rich": [ + "markdown-it-py", + "pygments" + ], + "rtfde": [ + "lark", + "oletools" + ], "setuptools": [], "six": [], "sniffio": [], "soupsieve": [], - "speechrecognition": ["requests", "typing-extensions"], - "sqlalchemy": ["greenlet", "typing-extensions"], + "speechrecognition": [ + "requests", + "typing-extensions" + ], + "sqlalchemy": [ + "greenlet", + "typing-extensions" + ], "tenacity": [], "textract": [ "argcomplete", @@ -829,20 +937,29 @@ "speechrecognition", "xlrd" ], - "tiktoken": ["regex", "requests"], + "tiktoken": [ + "regex", + "requests" + ], "tqdm": [], "typing-extensions": [], - "typing-inspect": ["mypy-extensions", "typing-extensions"], + "typing-inspect": [ + "mypy-extensions", + "typing-extensions" + ], "tzlocal": [], "urllib3": [], "wcwidth": [], "wheel": [], "xlrd": [], "xlsxwriter": [], - "yarl": ["idna", "multidict"] + "yarl": [ + "idna", + "multidict" + ] }, "dev": {} } }, "invalidationHash": "a27986828c1132303158dcfbfb7a64c0e01d82c698db3ac241b87bd30305aa83" -} +} \ No newline at end of file