Skip to content

Commit fc0996c

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent d490b71 commit fc0996c

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

mpl_image_labeller/_util.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ def list_to_onehot(labels, classes):
5151
lookup = {c: i for i, c in enumerate(classes)}
5252
arr = np.zeros((len(labels), len(classes)), dtype=bool)
5353
for i, l in enumerate(labels):
54-
5554
if l is None:
5655
continue
5756
elif isinstance(l, str) or not isinstance(l, Iterable):

setup.cfg

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,14 @@ url = https://mpl-image-labeller.rtfd.io
77
author = Ian Hunt-Isaak
88
author_email = [email protected]
99
license = BSD-3-Clause
10-
license_file = LICENSE
10+
license_files = LICENSE
1111
classifiers =
1212
Development Status :: 5 - Production/Stable
1313
Framework :: Matplotlib
1414
License :: OSI Approved :: BSD License
1515
Natural Language :: English
1616
Programming Language :: Python :: 3
1717
Programming Language :: Python :: 3 :: Only
18-
Programming Language :: Python :: 3.7
19-
Programming Language :: Python :: 3.8
20-
Programming Language :: Python :: 3.9
2118
Programming Language :: Python :: Implementation :: CPython
2219
project_urls =
2320
Tracker = https://github.com/ianhi/mpl-image-labeller/issues
@@ -29,7 +26,7 @@ project_urls =
2926
packages = find:
3027
install_requires =
3128
matplotlib
32-
python_requires = >=3.7
29+
python_requires = >=3.8
3330
zip_safe = False
3431

3532
[options.extras_require]

0 commit comments

Comments
 (0)