Skip to content

Commit 28efc11

Browse files
authored
Merge pull request #319 from MachineLearningLifeScience/fix/pyright-complains
fix: adds ignores for lambo imports
2 parents ac64697 + 9443a7d commit 28efc11

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

pyproject.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ classifiers = [
2828
]
2929
keywords = ["optimization", "molecular", "discrete", "proteins"]
3030
dependencies = [
31-
"numpy<2",
31+
"numpy",
3232
"rdkit",
3333
"selfies"
3434
]
@@ -55,9 +55,6 @@ ehrlich = [
5555
ehrlichholo = [
5656
"pytorch-holo",
5757
]
58-
tdc = [
59-
"pytdc==1.1.14",
60-
]
6158
dockstring = [
6259
"dockstring"
6360
]

src/poli/objective_repository/foldx_rfp_lambo/isolated_function.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
LAMBO_IN_POLI_OBJECTIVES_PATH = Path.home() / ".poli_objectives" / "lambo"
2828
LAMBO_IN_POLI_OBJECTIVES_PATH.mkdir(parents=True, exist_ok=True)
2929

30-
LAMBO_PACKAGE_ROOT = Path(lambo.__file__).parent.resolve()
30+
LAMBO_PACKAGE_ROOT = Path(lambo.__file__).parent.resolve() # type: ignore
3131

3232
LAMBO_FOLDX_ASSETS_PDBS = [
3333
"1uis_A",

src/poli/objective_repository/penalized_logp_lambo/isolated_function.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
LAMBO_IN_POLI_OBJECTIVES_PATH = Path.home() / ".poli_objectives" / "lambo"
3333
LAMBO_IN_POLI_OBJECTIVES_PATH.mkdir(parents=True, exist_ok=True)
3434

35-
LAMBO_PACKAGE_ROOT = Path(lambo.__file__).parent.resolve()
35+
LAMBO_PACKAGE_ROOT = Path(lambo.__file__).parent.resolve() # type: ignore
3636

3737

3838
def _download_assets_from_lambo():

0 commit comments

Comments
 (0)