Skip to content

Commit

Permalink
ci: finalize NoFlag
Browse files Browse the repository at this point in the history
Signed-off-by: nstarman <nstarman@users.noreply.github.com>
  • Loading branch information
nstarman committed Nov 18, 2024
1 parent 82172f6 commit d38927b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dataclassish/_src/flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

__all__ = ["FlagConstructionError", "AbstractFlag"]

from typing import Any
from typing import Any, final


class FlagConstructionError(Exception):
Expand Down Expand Up @@ -36,5 +36,6 @@ def __new__(cls, *_: Any, **__: Any) -> None: # type: ignore[misc]
raise FlagConstructionError(cls.__name__)


@final
class NoFlag(AbstractFlag):
"""No flag."""

0 comments on commit d38927b

Please sign in to comment.