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 Apr 3, 2023
1 parent db53255 commit 224ee08
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 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
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ classifiers =
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 Down

0 comments on commit 224ee08

Please sign in to comment.