Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
ac68acb
Add Flake8 configuration
PGijsbers Jun 25, 2020
e7ef1f5
Add mypy configuration file
PGijsbers Jun 25, 2020
956c9e0
Pre-commit mypy flake8, add flake8 excludes
PGijsbers Jun 26, 2020
d8e4a28
Add Black to pre-commit
PGijsbers Jun 26, 2020
20fa286
Set max line length to 100
PGijsbers Jun 26, 2020
e48b9ed
Blacken code
PGijsbers Jun 26, 2020
e037d90
Add unit tests to flake8 and mypy pre-commit
PGijsbers Jun 26, 2020
04b6b3f
Use pre-commit for flake8, mypy and black checks
PGijsbers Jun 26, 2020
d46c72a
Update docs, add 'test' dependencies
PGijsbers Jun 26, 2020
6708821
Uninstall pytest-cov on appveyor ci
PGijsbers Jun 26, 2020
4c332a7
Add -y to uninstall
PGijsbers Jun 26, 2020
5a31f8e
Sphinx issue fix (#923)
Neeratyoy Jul 1, 2020
861600b
More robust handling of openml_url (#921)
joaquinvanschoren Jul 1, 2020
f49c3eb
format for black artifacts
PGijsbers Jul 2, 2020
7d8a6a3
Add Flake8 configuration
PGijsbers Jun 25, 2020
74cce61
Add mypy configuration file
PGijsbers Jun 25, 2020
ffffab4
Pre-commit mypy flake8, add flake8 excludes
PGijsbers Jun 26, 2020
f4aa438
Add Black to pre-commit
PGijsbers Jun 26, 2020
64002cd
Set max line length to 100
PGijsbers Jun 26, 2020
8a3c6ae
Blacken code
PGijsbers Jun 26, 2020
d4c6150
Add unit tests to flake8 and mypy pre-commit
PGijsbers Jun 26, 2020
3596c87
Use pre-commit for flake8, mypy and black checks
PGijsbers Jun 26, 2020
d77606e
Update docs, add 'test' dependencies
PGijsbers Jun 26, 2020
d9d25af
Uninstall pytest-cov on appveyor ci
PGijsbers Jun 26, 2020
477238c
Add -y to uninstall
PGijsbers Jun 26, 2020
6bfbb69
format for black artifacts
PGijsbers Jul 2, 2020
887810e
Resolve merge conflicts
PGijsbers Jul 2, 2020
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
Prev Previous commit
Next Next commit
format for black artifacts
  • Loading branch information
PGijsbers committed Jul 2, 2020
commit 6bfbb6908e4d264137fec1bb6c184930d600ac84
6 changes: 3 additions & 3 deletions examples/30_extended/create_upload_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"Robert Tibshirani (2004) (Least Angle Regression) "
"Annals of Statistics (with discussion), 407-499"
)
paper_url = "http://web.stanford.edu/~hastie/Papers/" "LARS/LeastAngle_2002.pdf"
paper_url = "http://web.stanford.edu/~hastie/Papers/LARS/LeastAngle_2002.pdf"

############################################################################
# Create the dataset object
Expand All @@ -85,7 +85,7 @@
# Textual description of the dataset.
description=description,
# The person who created the dataset.
creator="Bradley Efron, Trevor Hastie, " "Iain Johnstone and Robert Tibshirani",
creator="Bradley Efron, Trevor Hastie, Iain Johnstone and Robert Tibshirani",
# People who contributed to the current version of the dataset.
contributor=None,
# The date the data was originally collected, given by the uploader.
Expand All @@ -110,7 +110,7 @@
data=data,
# A version label which is provided by the user.
version_label="test",
original_data_url=("http://www4.stat.ncsu.edu/~boos/var.select/diabetes.html"),
original_data_url="http://www4.stat.ncsu.edu/~boos/var.select/diabetes.html",
paper_url=paper_url,
)

Expand Down
2 changes: 1 addition & 1 deletion openml/runs/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ def _run_task_get_arffcontent(
sample_no,
)

(pred_y, proba_y, user_defined_measures_fold, trace,) = extension._run_model_on_fold(
pred_y, proba_y, user_defined_measures_fold, trace = extension._run_model_on_fold(
model=model,
task=task,
X_train=train_x,
Expand Down