Skip to content

Commit

Permalink
import annotations from the future
Browse files Browse the repository at this point in the history
  • Loading branch information
mcflugen committed Mar 20, 2024
1 parent 023eabf commit c3c6ab8
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions babelizer/_datadir.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import sys

if sys.version_info >= (3, 12): # pragma: no cover (PY12+)
Expand Down
2 changes: 2 additions & 0 deletions babelizer/_files/bmi_py.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import os
from collections.abc import Mapping
from typing import Any
Expand Down
2 changes: 2 additions & 0 deletions babelizer/_files/gitignore.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import os
from collections.abc import Mapping
from typing import Any
Expand Down
2 changes: 2 additions & 0 deletions babelizer/_files/init_py.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import os
from collections.abc import Mapping
from typing import Any
Expand Down
2 changes: 2 additions & 0 deletions babelizer/_files/lib_init_py.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import os
from collections.abc import Mapping
from typing import Any
Expand Down
2 changes: 2 additions & 0 deletions babelizer/_files/license_rst.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from collections.abc import Mapping
from datetime import datetime
from typing import Any
Expand Down
2 changes: 2 additions & 0 deletions babelizer/_files/meson_build.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import os
from collections import defaultdict
from collections.abc import Iterable
Expand Down
2 changes: 2 additions & 0 deletions babelizer/_files/readme.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from typing import Any

from jinja2 import Environment
Expand Down
1 change: 1 addition & 0 deletions babelizer/render.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Render a new babelized project."""
from __future__ import annotations

import contextlib
import os
Expand Down

0 comments on commit c3c6ab8

Please sign in to comment.