From c126218764326dff9db1978ec72cee2160c2152c Mon Sep 17 00:00:00 2001 From: Ivan Ogasawara Date: Fri, 27 Sep 2024 20:24:38 -0400 Subject: [PATCH] add annotation from future --- src/envers/__init__.py | 2 ++ src/envers/__main__.py | 2 ++ tests/test_core.py | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/envers/__init__.py b/src/envers/__init__.py index c67a812..0c2213b 100644 --- a/src/envers/__init__.py +++ b/src/envers/__init__.py @@ -1,6 +1,8 @@ """Envers.""" # mypy: disable-error-code="attr-defined" +from __future__ import annotations + from importlib import metadata as importlib_metadata diff --git a/src/envers/__main__.py b/src/envers/__main__.py index 9274761..b5f4a6b 100644 --- a/src/envers/__main__.py +++ b/src/envers/__main__.py @@ -1,5 +1,7 @@ """The definition of the action for `python -m` command.""" +from __future__ import annotations + from envers.cli import app if __name__ == "__main__": diff --git a/tests/test_core.py b/tests/test_core.py index 3f11e2c..d3b0bd1 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -1,5 +1,7 @@ """Tests for envers package.""" +from __future__ import annotations + import copy import os import tempfile