10000 MNT Add type annotations for OpenML fetcher by rth · Pull Request #17053 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

MNT Add type annotations for OpenML fetcher #17053

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 21 commits into from
Jun 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repos:
# the code is not fully PEP8 compatible
args: [--select=F401]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.730
rev: v0.780
hooks:
- id: mypy
args:
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
inputs:
versionSpec: '3.8'
- bash: |
pip install flake8 mypy==0.770
pip install flake8 mypy==0.780
displayName: Install linters
- bash: |
set -ex
Expand Down
2 changes: 1 addition & 1 deletion sklearn/datasets/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
['filename', 'url', 'checksum'])


def get_data_home(data_home=None):
def get_data_home(data_home=None) -> str:
"""Return the path of the scikit-learn data dir.

This folder is used by some large dataset loaders to avoid downloading the
Expand Down
Loading
0