Skip to content

Commit 4a325f9

Browse files
committed
Improve tping in scripts/generate_tmpl.py
1 parent 8f6c1b1 commit 4a325f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/generate_tmpl.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#! /usr/bin/env python3
22

3+
from __future__ import annotations
34
import argparse
45
from typing import List, Dict, Tuple
56
from pathlib import Path
@@ -156,6 +157,7 @@ def make_jinja_env(import_dir: Path) -> Environment:
156157
template_name = f"{name}.j2"
157158
items.append((output, template_name, template_home))
158159

160+
filter_classes: bool | set[str]
159161
if need_classes:
160162
if args.classes_sample:
161163
filter_classes = GODOT_CLASSES_SAMPLE

0 commit comments

Comments
 (0)