aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2024-06-17 04:22:57 +0800
committer简律纯 <i@jyunko.cn>2024-06-17 04:22:57 +0800
commitd241a9a0e743ff66a2961603dd44f398fb683885 (patch)
tree22b1fa0752c8e30dc00e95bb8a12b55ae6a2ea72 /tests
parentfdee34884c29216db2a6bdb7e5c714af2e780777 (diff)
downloadHydroRollCore-d241a9a0e743ff66a2961603dd44f398fb683885.tar.gz
HydroRollCore-d241a9a0e743ff66a2961603dd44f398fb683885.zip
chore(format): ruff lint code
Diffstat (limited to 'tests')
-rw-r--r--tests/test_corelib.py4
1 files changed, 3 insertions, 1 deletions
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()