Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 2, 2023
1 parent dfbf128 commit e1ba6ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion mpl_image_labeller/_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ def list_to_onehot(labels, classes):
lookup = {c: i for i, c in enumerate(classes)}
arr = np.zeros((len(labels), len(classes)), dtype=bool)
for i, l in enumerate(labels):

if l is None:
continue
elif isinstance(l, str) or not isinstance(l, Iterable):
Expand Down
7 changes: 2 additions & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,14 @@ url = https://mpl-image-labeller.rtfd.io
author = Ian Hunt-Isaak
author_email = [email protected]
license = BSD-3-Clause
license_file = LICENSE
license_files = LICENSE
classifiers =
Development Status :: 5 - Production/Stable
Framework :: Matplotlib
License :: OSI Approved :: BSD License
Natural Language :: English
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: Implementation :: CPython
project_urls =
Tracker = https://github.com/ianhi/mpl-image-labeller/issues
Expand All @@ -29,7 +26,7 @@ project_urls =
packages = find:
install_requires =
matplotlib
python_requires = >=3.7
python_requires = >=3.8
zip_safe = False

[options.extras_require]
Expand Down

0 comments on commit e1ba6ed

Please sign in to comment.