Skip to content

Commit d7f1a3d

Browse files
ryottmp3H. Ryott Glayzerpre-commit-ci[bot]ianhi
authored
Fixed compatibility issue in clicker (#19)
* Fixed compatibility issue in clicker _clicker used python syntax that is only compatible with python 3.10+. I changed the syntax to be compatible with earlier versions. My research group uses this epon source library with python 3.9.6 and are glad to contribute. Package now requires the typing module as a dependency. Committer Contact info: H. Ryott Glayzer email: code@ryott.gay * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * replaced old syntax with __future__ * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update setup.cfg --------- Co-authored-by: H. Ryott Glayzer <code@ryott.gay> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Ian Hunt-Isaak <ianhuntisaak@gmail.com>
1 parent 8891b72 commit d7f1a3d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mpl_point_clicker/_clicker.py

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
# Copyright (c) Ian Hunt-Isaak.
44
# Distributed under the terms of the Modified BSD License.
5+
from __future__ import annotations
56

67
__all__ = [
78
"clicker",

0 commit comments

Comments
 (0)