Skip to content

Commit dd2ce3b

Browse files
committed
refactor: remove redundant future annotations import (PEP 749)
1 parent 58c7187 commit dd2ce3b

5 files changed

Lines changed: 0 additions & 11 deletions

File tree

boot.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
from __future__ import annotations
2-
3-
41
def reload_plugin() -> None:
52
import sys
63

tests/conftest.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
plugin code is imported, so that unit tests can run outside Sublime Text.
44
"""
55

6-
from __future__ import annotations
7-
86
import importlib.machinery
97
import importlib.util
108
import sys

tests/test_constraints.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
"""Tests for built-in constraint implementations."""
22

3-
from __future__ import annotations
4-
53
import pytest
64

75
from plugin.rules.constraint import AlwaysFalsyException

tests/test_matches.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
"""Tests for match combinators (any, all, some, ratio) and the test_count algorithm."""
22

3-
from __future__ import annotations
4-
53
import pytest
64

75
# ── Helpers ───────────────────────────────────────────────────────────────────

tests/test_utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
"""Tests for pure utility functions in plugin/utils.py."""
22

3-
from __future__ import annotations
4-
53
import re
64

75
import pytest

0 commit comments

Comments
 (0)