Skip to content

Commit d53c1d3

Browse files
committed
update
1 parent f495c2d commit d53c1d3

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
with:
1919
python-version: 3.8
2020
- name: Install Black
21-
run: pip install black[jupyter]
21+
run: pip install "black[jupyter]==24.8.0"
2222
- name: Run Black
2323
run: black --check .
2424

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
exclude:
2222
- python-version: 3.9
2323
tf-version: 2.13.1
24+
- os: macOS-latest
25+
tf-version: 2.13.1
2426

2527
steps:
2628
- uses: actions/checkout@v4

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ repos:
1919
hooks:
2020
- id: isort
2121
- repo: https://github.com/psf/black
22-
rev: 22.3.0
22+
rev: 24.8.0
2323
hooks:
2424
- id: black
2525
- repo: https://github.com/nbQA-dev/nbQA

benchmark/base.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,7 @@ class Dataset(ABC):
100100
group_column: Optional[str] = None
101101

102102
@abstractmethod
103-
def prepare_data(
104-
self, **kwargs
105-
) -> Union[
103+
def prepare_data(self, **kwargs) -> Union[
106104
Tuple[np.ndarray, np.ndarray],
107105
Tuple[Tuple[np.ndarray, np.ndarray], Tuple[np.ndarray, np.ndarray]],
108106
tf.data.Dataset,

0 commit comments

Comments
 (0)