aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/hrc/rule/BaseRule
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2024-06-28 18:25:40 +0800
committer简律纯 <i@jyunko.cn>2024-06-28 18:25:40 +0800
commit6dfe2f4a87362a27fe2e97a154daac2f11883284 (patch)
treebd4f28514482042735182d86d2c89dec8d655674 /hrc/rule/BaseRule
parent1b0d67664557e6f0b4a421e1183cee1b0dbca2d3 (diff)
downloadHydroRollCore-6dfe2f4a87362a27fe2e97a154daac2f11883284.tar.gz
HydroRollCore-6dfe2f4a87362a27fe2e97a154daac2f11883284.zip
style: ruff format code
Diffstat (limited to 'hrc/rule/BaseRule')
-rw-r--r--hrc/rule/BaseRule/CharacterCard.py13
-rw-r--r--hrc/rule/BaseRule/__init__.py6
2 files changed, 7 insertions, 12 deletions
diff --git a/hrc/rule/BaseRule/CharacterCard.py b/hrc/rule/BaseRule/CharacterCard.py
index 6d09e5a..2baea48 100644
--- a/hrc/rule/BaseRule/CharacterCard.py
+++ b/hrc/rule/BaseRule/CharacterCard.py
@@ -1,22 +1,17 @@
-import dataclasses
from dataclasses import dataclass
-from typing import Literal, Optional, Union
@dataclass
class Custom(object):
"""Docstring for Custom."""
- property: type
+ property: type
-class Attribute(Custom):
- ...
+class Attribute(Custom): ...
-class Skill(Custom):
- ...
+class Skill(Custom): ...
-class Information(Custom):
- ...
+class Information(Custom): ...
diff --git a/hrc/rule/BaseRule/__init__.py b/hrc/rule/BaseRule/__init__.py
index fbb8df2..fdde86c 100644
--- a/hrc/rule/BaseRule/__init__.py
+++ b/hrc/rule/BaseRule/__init__.py
@@ -1,3 +1,3 @@
-from . import CharacterCard
-from . import CustomRule
-from . import Wiki \ No newline at end of file
+from . import CharacterCard # noqa: F401
+from . import CustomRule # noqa: F401
+from . import Wiki # noqa: F401