From d241a9a0e743ff66a2961603dd44f398fb683885 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Mon, 17 Jun 2024 04:22:57 +0800 Subject: chore(format): ruff lint code --- tests/test_corelib.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/test_corelib.py b/tests/test_corelib.py index 4a21e29..38c2ef9 100644 --- a/tests/test_corelib.py +++ b/tests/test_corelib.py @@ -2,6 +2,7 @@ from hydro_roll_core import libcore cb = libcore + def main(): rule_pack = "example_rule_pack" result = cb.process_rule_pack(rule_pack) @@ -10,5 +11,6 @@ def main(): cb.name = "a" print(cb.name) + if __name__ == "__main__": - main() \ No newline at end of file + main() -- cgit v1.2.3-70-g09d2