Fix: Add auto-generated notice in route files

This commit is contained in:
LmeSzinc 2023-09-24 17:02:31 +08:00
parent 8f25862b77
commit 6212b081ce
2 changed files with 4 additions and 0 deletions

View File

@ -75,6 +75,8 @@ class RouteExtract:
gen.Import(""" gen.Import("""
from tasks.map.route.base import RouteData from tasks.map.route.base import RouteData
""") """)
gen.CommentAutoGenerage('dev_tools.route_extract')
for f in self.iter_files(): for f in self.iter_files():
for row in self.extract_route(f): for row in self.extract_route(f):
with gen.Object(key=row.name, object_class='RouteData'): with gen.Object(key=row.name, object_class='RouteData'):

View File

@ -1,5 +1,7 @@
from tasks.map.route.base import RouteData from tasks.map.route.base import RouteData
# This file was auto-generated, do not modify it manually. To generate:
# ``` python -m dev_tools.route_extract ```
ForgottenHallStage1__route = RouteData( ForgottenHallStage1__route = RouteData(
name='ForgottenHallStage1__route', name='ForgottenHallStage1__route',