From 7a316476a3cc4ea8fe246e3e1279050f4a46e947 Mon Sep 17 00:00:00 2001 From: lrdossan Date: Thu, 18 Jul 2024 10:39:07 +0200 Subject: [PATCH] adjustments to cern_caimira .toml file --- cern_caimira/pyproject.toml | 50 ++----------------- .../cern_caimira/apps/expert_apps/expert.py | 2 - 2 files changed, 4 insertions(+), 48 deletions(-) diff --git a/cern_caimira/pyproject.toml b/cern_caimira/pyproject.toml index 690c9847..8622f641 100644 --- a/cern_caimira/pyproject.toml +++ b/cern_caimira/pyproject.toml @@ -18,9 +18,9 @@ classifiers = [ ] requires-python = ">=3.9" dependencies = [ - "ipykernel", - "ipympl>=0.9.0", - "ipywidgets<8.0", + 'ipykernel', + 'ipympl >= 0.9.0', + 'ipywidgets < 8.0', "Jinja2", "loky", "matplotlib", @@ -28,14 +28,10 @@ dependencies = [ "mistune", "numpy", "pandas", - "psutil", "pyinstrument", - "pyjwt", - "python-dateutil", "retry", "ruptures", "scipy", - "scikit-learn", "timezonefinder", "tornado", "types-retry", @@ -50,7 +46,6 @@ test = [ "pytest-tornasync", "numpy-stubs @ git+https://github.com/numpy/numpy-stubs.git", "types-dataclasses", - "types-python-dateutil", "types-requests" ] doc = [ @@ -72,42 +67,5 @@ addopts = "--mypy" no_warn_no_return = true [[tool.mypy.overrides]] -module = ["caimira.*", "ipympl.*", "loky", "ipywidgets", "setuptools", "pandas"] -ignore_missing_imports = true - - -[tool.mypy-loky] -ignore_missing_imports = true - -[tool.mypy-ipympl] -ignore_missing_imports = true - -[tool.mypy-ipywidgets] -ignore_missing_imports = true - -[tool.mypy-matplotlib] -ignore_missing_imports = true - -[tool.mypy-mistune] -ignore_missing_imports = true - -[tool.mypy-qrcode] -ignore_missing_imports = true - -[tool.mypy-scipy] -ignore_missing_imports = true - -[tool.mypy-timezonefinder] -ignore_missing_imports = true - -[tool.mypy-pandas] -ignore_missing_imports = true - -[tool.mypy-pstats] -follow_imports = "skip" - -[tool.mypy-tabulate] -ignore_missing_imports = true - -[tool.mypy-ruptures] +module = ["caimira.*", "ipympl.*", "ipywidgets", "loky", "setuptools", "pandas"] ignore_missing_imports = true diff --git a/cern_caimira/src/cern_caimira/apps/expert_apps/expert.py b/cern_caimira/src/cern_caimira/apps/expert_apps/expert.py index d60e33e4..4e9cb315 100644 --- a/cern_caimira/src/cern_caimira/apps/expert_apps/expert.py +++ b/cern_caimira/src/cern_caimira/apps/expert_apps/expert.py @@ -20,8 +20,6 @@ LOG = logging.getLogger(__name__) -LOG = logging.getLogger(__name__) - def collapsible(widgets_to_collapse: typing.List, title: str, start_collapsed=False): collapsed = widgets.Accordion([widgets.VBox(widgets_to_collapse)])