From d7f1a3da1e268205a416a748b9710505b29a1366 Mon Sep 17 00:00:00 2001 From: H Ryott Glayzer <123704538+ryottmp3@users.noreply.github.com> Date: Wed, 31 Jan 2024 14:52:33 -0700 Subject: [PATCH] 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 Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Ian Hunt-Isaak --- mpl_point_clicker/_clicker.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mpl_point_clicker/_clicker.py b/mpl_point_clicker/_clicker.py index 8cd91a9..b293f4a 100644 --- a/mpl_point_clicker/_clicker.py +++ b/mpl_point_clicker/_clicker.py @@ -2,6 +2,7 @@ # Copyright (c) Ian Hunt-Isaak. # Distributed under the terms of the Modified BSD License. +from __future__ import annotations __all__ = [ "clicker",