Skip to content

Commit

Permalink
__future__ annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcinKonowalczyk committed Apr 14, 2023
1 parent e17ad12 commit 268aa76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions psll/macros.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from typing import (
Union,
Callable,
Expand All @@ -12,6 +14,7 @@

if TYPE_CHECKING:
from typing_extensions import _T, TypeAlias

from more_itertools import windowed

from functools import partial, reduce, singledispatch
Expand Down
1 change: 1 addition & 0 deletions psll/optimisers.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Optimisers work on the abstract syntax tree to improve byte count of the compiled code.
"""
from __future__ import annotations

from typing import Optional, Generator, Callable, TYPE_CHECKING

Expand Down

0 comments on commit 268aa76

Please sign in to comment.