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 Jan 31, 2024
1 parent db59cc9 commit a135be0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion mpl_point_clicker/_clicker.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Copyright (c) Ian Hunt-Isaak.
# Distributed under the terms of the Modified BSD License.
from __future__ import annotations

__all__ = [
"clicker",
]
Expand Down Expand Up @@ -141,7 +142,7 @@ def set_positions(self, positions):
self._positions[k] = list(v)
self._observers.process('pos-set', self.get_positions())

def clear_positions(self, classes: str | list[str] | None = None):
def clear_positions(self, classes: str | list[str] | None = None):
"""
Clear all points of classes in *classes*.
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ classifiers =
[options]
packages = find:
install_requires =
--future--
matplotlib
numpy
__future__
classifiers =
Intended Audience :: Developers
Intended Audience :: Science/Research
Expand Down

0 comments on commit a135be0

Please sign in to comment.