diff options
author | David Lord <davidism@gmail.com> | 2023-01-19 17:49:35 -0800 |
---|---|---|
committer | David Lord <davidism@gmail.com> | 2023-01-19 18:17:03 -0800 |
commit | 8ed8e1d0eda956aa0cdc6e216270be3ebcfd4b4a (patch) | |
tree | 842087b49f88a8764206336c7a21fc55f7335af2 /src/jinja2/nodes.py | |
parent | 614b045fab971de8b96853dbdd9b9c6c234de32f (diff) | |
download | jinja2-8ed8e1d0eda956aa0cdc6e216270be3ebcfd4b4a.tar.gz |
fix mypy strict findings
Diffstat (limited to 'src/jinja2/nodes.py')
-rw-r--r-- | src/jinja2/nodes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jinja2/nodes.py b/src/jinja2/nodes.py index b2f88d9..00365ed 100644 --- a/src/jinja2/nodes.py +++ b/src/jinja2/nodes.py @@ -56,7 +56,7 @@ class NodeType(type): def __new__(mcs, name, bases, d): # type: ignore for attr in "fields", "attributes": - storage = [] + storage: t.List[t.Any] = [] storage.extend(getattr(bases[0] if bases else object, attr, ())) storage.extend(d.get(attr, ())) assert len(bases) <= 1, "multiple inheritance not allowed" |