diff --git a/Makefile b/Makefile index 746eccb..a7e0d1a 100644 --- a/Makefile +++ b/Makefile @@ -22,6 +22,12 @@ python_clean_env: rm -fr \ $(INSTALL_ROOT)/env3; +python_put_env: + [[ -d $(INSTALL_ROOT)/env3 ]] || (\ + uv venv --system-site-packages --seed $(INSTALL_ROOT)/env3 && \ + $(INSTALL_ROOT)/env3/bin/python3 -m pip install uv \ + ); + python_clean_dist: for o in $(PYTHON_PROJECTS); do \ [[ -d $$o/dist ]] || continue; \ @@ -31,20 +37,18 @@ python_clean_dist: python_clean: python_clean_dist python_clean_env -python_put: - [[ -d $(INSTALL_ROOT)/env3 ]] || (\ - uv venv --system-site-packages --seed $(INSTALL_ROOT)/env3 && \ - $(INSTALL_ROOT)/env3/bin/python3 -m pip install uv \ - ); +python_put_dist: for f in \ $(PYTHON_PROJECTS); do \ [[ -d $$f/dist ]] && continue; \ echo $$f; \ - python3 -m build --installer uv $$f; \ - $(INSTALL_ROOT)/env3/bin/python3 -m uv pip install $$f/dist/*.whl; \ + python3 -m build -n $$f; \ + $(INSTALL_ROOT)/env3/bin/python3 -m uv pip install --offline $$f/dist/*.whl; \ done ln -sf $(INSTALL_ROOT)/env3/bin/online-fxreader-pr34-commands $(INSTALL_ROOT)/commands +python_put: python_put_dist python_put_env + dotfiles_put: mkdir -p $(INSTALL_ROOT) cp dotfiles/.local/bin/gnome-shortcuts-macbook-air $(INSTALL_ROOT)/ diff --git a/deps/com.github.aiortc.aiortc b/deps/com.github.aiortc.aiortc index adef10a..6731afb 160000 --- a/deps/com.github.aiortc.aiortc +++ b/deps/com.github.aiortc.aiortc @@ -1 +1 @@ -Subproject commit adef10a8c41f5c550622879370a40f8a9e545574 +Subproject commit 6731afb205b69f65f1adf625f6e81ae972218987 diff --git a/dotfiles/.config/Code - OSS/User/keybindings.json b/dotfiles/.config/Code - OSS/User/keybindings.json index 43c213e..e08d11b 100644 --- a/dotfiles/.config/Code - OSS/User/keybindings.json +++ b/dotfiles/.config/Code - OSS/User/keybindings.json @@ -99,5 +99,30 @@ "key": "alt+r", "command": "-toggleSearchEditorRegex", "when": "inSearchEditor && searchInputBoxFocus" + }, + { + "key": "ctrl+/", + "command": "-editor.action.accessibleViewAcceptInlineCompletion", + "when": "accessibleViewIsShown && accessibleViewCurrentProviderId == 'inlineCompletions'" + }, + { + "key": "ctrl+k ctrl+/", + "command": "-editor.foldAllBlockComments", + "when": "editorTextFocus && foldingEnabled" + }, + { + "key": "ctrl+/", + "command": "-toggleExplainMode", + "when": "suggestWidgetVisible" + }, + { + "key": "ctrl+/", + "command": "-workbench.action.chat.attachContext", + "when": "inChatInput && chatLocation == 'editing-session' || inChatInput && chatLocation == 'editor' || inChatInput && chatLocation == 'notebook' || inChatInput && chatLocation == 'panel' || inChatInput && chatLocation == 'terminal'" + }, + { + "key": "ctrl+/", + "command": "-workbench.action.terminal.sendSequence", + "when": "terminalFocus" } ] \ No newline at end of file diff --git a/dotfiles/.config/Code - OSS/User/settings.json b/dotfiles/.config/Code - OSS/User/settings.json index 98f6ce0..c98a59d 100644 --- a/dotfiles/.config/Code - OSS/User/settings.json +++ b/dotfiles/.config/Code - OSS/User/settings.json @@ -2,5 +2,6 @@ "editor.wordWrap": "on", "editor.minimap.autohide": true, "editor.minimap.maxColumn": 80, - "editor.minimap.size": "fit" + "editor.minimap.size": "fit", + "diffEditor.hideUnchangedRegions.enabled": true } \ No newline at end of file diff --git a/python/online/fxreader/pr34/commands_typed/logging.py b/python/online/fxreader/pr34/commands_typed/logging.py index 3c9ef79..eb76c6d 100644 --- a/python/online/fxreader/pr34/commands_typed/logging.py +++ b/python/online/fxreader/pr34/commands_typed/logging.py @@ -1,8 +1,12 @@ import logging +from typing import (Optional,) + +def setup(level: Optional[int] = None) -> None: + if level is None: + level = logging.INFO -def setup() -> None: logging.basicConfig( - level=logging.INFO, + level=level, format=( '%(levelname)s:%(name)s:%(message)s' ':%(process)d'