diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b3a1d2aba..e13aa2fd0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,20 +9,20 @@ repos: hooks: - id: mypy name: mypy openml - files: openml/* + files: openml/.* - id: mypy name: mypy tests - files: tests/* + files: tests/.* - repo: https://gitlab.com/pycqa/flake8 rev: 3.8.3 hooks: - id: flake8 name: flake8 openml - files: openml/* + files: openml/.* additional_dependencies: - flake8-print==3.1.4 - id: flake8 name: flake8 tests - files: tests/* + files: tests/.* additional_dependencies: - flake8-print==3.1.4 diff --git a/doc/progress.rst b/doc/progress.rst index 401550a4d..c31976301 100644 --- a/doc/progress.rst +++ b/doc/progress.rst @@ -8,10 +8,12 @@ Changelog 0.13.0 ~~~~~~ + * FIX#1030: ``pre-commit`` hooks now no longer should issue a warning. * FIX#1110: Make arguments to ``create_study`` and ``create_suite`` that are defined as optional by the OpenML XSD actually optional. * MAIN#1088: Do CI for Windows on Github Actions instead of Appveyor. + 0.12.2 ~~~~~~ diff --git a/openml/study/functions.py b/openml/study/functions.py index 144c089b3..26cb9bd55 100644 --- a/openml/study/functions.py +++ b/openml/study/functions.py @@ -135,7 +135,7 @@ def get_nested_ids_from_result_dict(key: str, subkey: str) -> Optional[List]: ) # type: BaseStudy elif main_entity_type in ["tasks", "task"]: - + tasks = cast("List[int]", tasks) study = OpenMLBenchmarkSuite( suite_id=study_id, alias=alias,