mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
152a624f47
revng.model.__init__ would dynamically import the latest version of the model when imported, however this would break IDE hints as the classes would not be properly detected. Instead we now manually specify the last version in the __init__.py file.
8 lines
142 B
Python
8 lines
142 B
Python
#
|
|
# This file is distributed under the MIT License. See LICENSE.md for details.
|
|
#
|
|
|
|
from .v1 import * # noqa: F401,F403
|
|
|
|
_last_version = "v1"
|