Skip to content

Commit 4902bfc

Browse files
committed
iter
1 parent 355c639 commit 4902bfc

33 files changed

+175
-125
lines changed

.coveragerc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ exclude_lines =
1818
if 0:
1919
if __name__ == .__main__.:
2020
if self.verbose:
21-
show_missing = True
21+
show_missing = True

.github/ISSUE_TEMPLATE/other--blank-template-.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,3 @@ labels: ''
66
assignees: ''
77

88
---
9-
10-

doc/_templates/numpydoc_docstring.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
{{notes}}
1414
{{references}}
1515
{{examples}}
16-
{{methods}}
16+
{{methods}}

doc/conf.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@
111111
"show_toc_level": 1,
112112
# "navbar_align": "right", # For testing that the navbar items align properly
113113
"logo": {
114-
"image_dark": "https://imbalanced-learn.org/stable/_static/img/logo_wide_dark.png"
114+
"image_dark": (
115+
"https://imbalanced-learn.org/stable/_static/img/logo_wide_dark.png"
116+
)
115117
},
116118
}
117119

@@ -187,9 +189,11 @@
187189
# The following is used by sphinx.ext.linkcode to provide links to github
188190
linkcode_resolve = make_linkcode_resolve(
189191
"imblearn",
190-
"https://github.com/scikit-learn-contrib/"
191-
"imbalanced-learn/blob/{revision}/"
192-
"{package}/{path}#L{lineno}",
192+
(
193+
"https://github.com/scikit-learn-contrib/"
194+
"imbalanced-learn/blob/{revision}/"
195+
"{package}/{path}#L{lineno}"
196+
),
193197
)
194198

195199
# -- Options for LaTeX output ---------------------------------------------

doc/sphinxext/LICENSE.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,3 @@ Copyright (c) 2002-2008 John D. Hunter; All Rights Reserved.
9494
7. Nothing in this License Agreement shall be deemed to create any relationship of agency, partnership, or joint venture between JDH and Licensee. This License Agreement does not grant permission to use JDH trademarks or trade name in a trademark sense to endorse or promote products or services of Licensee, or any third party.
9595

9696
8. By copying, installing or otherwise using matplotlib 0.98.3, Licensee agrees to be bound by the terms and conditions of this License Agreement.
97-

doc/sphinxext/sphinx_issues.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,9 @@ def make_node(self, name, issue_no, config, options=None):
125125
)
126126
else:
127127
raise ValueError(
128-
"Neither {} nor issues_github_path "
129-
"is set".format(self.uri_config_option)
128+
"Neither {} nor issues_github_path is set".format(
129+
self.uri_config_option
130+
)
130131
)
131132
issue_text = self.format_text(issue_no)
132133
link = nodes.reference(text=issue_text, refuri=ref, **options)

doc/zzz_references.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
References
33
==========
44

5-
.. bibliography:: bibtex/refs.bib
5+
.. bibliography:: bibtex/refs.bib

examples/applications/plot_impact_imbalanced_classes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676

7777
# %%
7878
print(
79-
f"Balanced accuracy score of a dummy classifier: "
79+
"Balanced accuracy score of a dummy classifier: "
8080
f"{cv_result['test_balanced_accuracy'].mean():.3f}"
8181
)
8282

examples/pipeline/README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
Pipeline examples
44
=================
55

6-
Example of how to use the a pipeline to include under-sampling with `scikit-learn` estimators.
6+
Example of how to use the a pipeline to include under-sampling with `scikit-learn` estimators.

imblearn/datasets/_zenodo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def fetch_datasets(
254254
if it < 1 or it > 27:
255255
raise ValueError(
256256
f"The dataset with the ID={it} is not an "
257-
f"available dataset. The IDs are "
257+
"available dataset. The IDs are "
258258
f"{range(1, 28)}"
259259
)
260260
else:
@@ -263,7 +263,7 @@ def fetch_datasets(
263263
filter_data_.append(MAP_ID_NAME[it])
264264
else:
265265
raise ValueError(
266-
f"The value in the tuple should be str or int."
266+
"The value in the tuple should be str or int."
267267
f" Got {type(it)} instead."
268268
)
269269

0 commit comments

Comments
 (0)