Skip to content

Commit 4325faf

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent c93dd75 commit 4325faf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

funnel/models/shortlink.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def new(
286286
cls,
287287
url: str | furl,
288288
*,
289-
name: Literal[None] = None,
289+
name: None = None,
290290
shorter: bool = False,
291291
reuse: Literal[True] = True,
292292
actor: Account | None = None,

funnel/utils/jinja_template.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def jinja_global(*, init: Literal[False] = False) -> Any: # noqa: ARG001
210210
return ...
211211

212212

213-
def jinja_undefined(*, default: Literal[None] = None) -> Any: # noqa: ARG001
213+
def jinja_undefined(*, default: None = None) -> Any: # noqa: ARG001
214214
"""Sentinel for an optional Jinja2 context variable."""
215215
return ...
216216

0 commit comments

Comments
 (0)