Skip to content

Commit 70f0446

Browse files
committed
build: allow bokeh >=3.7 and restore mypy compatibility
1 parent 27ac08c commit 70f0446

10 files changed

Lines changed: 17 additions & 8 deletions

File tree

malariagen_data/anoph/cnv_data.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# mypy: disable-error-code="call-arg,arg-type,attr-defined,list-item"
12
from typing import Dict, List, Optional, Tuple, Union
23

34
import dask.array as da

malariagen_data/anoph/fst.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# mypy: disable-error-code="call-arg,arg-type,attr-defined,list-item"
12
from typing import Tuple, Optional
23

34
import numpy as np

malariagen_data/anoph/g123.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# mypy: disable-error-code="call-arg,arg-type,attr-defined,list-item"
12
from collections import Counter
23
from typing import Optional, Tuple, Dict, Mapping
34

malariagen_data/anoph/genome_features.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# mypy: disable-error-code="call-arg,arg-type,attr-defined,list-item"
12
from typing import Dict, Optional, Tuple, Mapping
23

34
import bokeh.models

malariagen_data/anoph/h12.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# mypy: disable-error-code="call-arg,arg-type,attr-defined,list-item"
12
from typing import Optional, Tuple, Dict, Mapping
23

34
import allel # type: ignore

malariagen_data/anoph/h1x.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# mypy: disable-error-code="call-arg,arg-type,attr-defined,list-item"
12
from typing import Optional, Tuple
23

34
import allel # type: ignore

malariagen_data/anoph/snp_data.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# mypy: disable-error-code="call-arg,arg-type,attr-defined,list-item"
12
import warnings
23
from functools import lru_cache
34
from typing import Any, Dict, List, Optional, Tuple, Union

malariagen_data/anopheles.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# mypy: disable-error-code="call-arg,arg-type,attr-defined,list-item"
12
from abc import abstractmethod
23
from typing import Any, Dict, Mapping, Optional, Tuple, Sequence
34

poetry.lock

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ BioPython = "*"
3636
scikit-allel = ">=1.3.13"
3737
xarray = "*"
3838
plotly = "*"
39-
# Bokeh 3.7.x causes type checking issues.
40-
# https://github.com/bokeh/bokeh/issues/14412
39+
# https://github.com/malariagen/malariagen-data-python/issues/845
4140
# https://github.com/malariagen/malariagen-data-python/issues/734
42-
bokeh = "<3.7.0"
41+
# https://github.com/malariagen/malariagen-data-python/issues/743
42+
bokeh = ">=3.7.0"
4343
statsmodels = ">=0.14.2"
4444
ipyleaflet = ">=0.17.0"
4545
ipywidgets = "*"

0 commit comments

Comments
 (0)