We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f6c1b1 commit 4a325f9Copy full SHA for 4a325f9
scripts/generate_tmpl.py
@@ -1,5 +1,6 @@
1
#! /usr/bin/env python3
2
3
+from __future__ import annotations
4
import argparse
5
from typing import List, Dict, Tuple
6
from pathlib import Path
@@ -156,6 +157,7 @@ def make_jinja_env(import_dir: Path) -> Environment:
156
157
template_name = f"{name}.j2"
158
items.append((output, template_name, template_home))
159
160
+ filter_classes: bool | set[str]
161
if need_classes:
162
if args.classes_sample:
163
filter_classes = GODOT_CLASSES_SAMPLE
0 commit comments