Skip to content

Commit

Permalink
Fix future annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
henhuy committed Apr 10, 2024
1 parent a8a9814 commit 6418264
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions digiplan/map/forms.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
from itertools import count # noqa: D100
"""Module containing django forms."""
from __future__ import annotations

from itertools import count
from typing import TYPE_CHECKING

from django.forms import BooleanField, Form, IntegerField, TextInput, renderers
from django.shortcuts import reverse
from django.utils.safestring import mark_safe
from django_mapengine import legend

from . import charts, menu
from .widgets import SwitchWidget

if TYPE_CHECKING:
from django_mapengine import legend


class TemplateForm(Form): # noqa: D101
template_name = None
Expand Down

0 comments on commit 6418264

Please sign in to comment.