Migrate from Poetry and pyenv to uv
This commit is contained in:
+5
-5
@@ -1,7 +1,9 @@
|
||||
# Imports
|
||||
from src.ui.qt_app import run
|
||||
import contextlib
|
||||
|
||||
from src.core.file_manager import FileManager
|
||||
from src.core.tag_manager import TagManager
|
||||
from src.ui.qt_app import run
|
||||
|
||||
|
||||
def _use_system_certificates() -> None:
|
||||
@@ -11,11 +13,10 @@ def _use_system_certificates() -> None:
|
||||
Windows trust store but not in certifi's bundle. Best-effort; ignored if the
|
||||
optional `truststore` package is unavailable.
|
||||
"""
|
||||
try:
|
||||
with contextlib.suppress(Exception):
|
||||
import truststore
|
||||
|
||||
truststore.inject_into_ssl()
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
|
||||
class State:
|
||||
@@ -32,4 +33,3 @@ def main() -> None:
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user