aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/hydro_roll/config.py
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2024-06-17 04:24:14 +0800
committer简律纯 <i@jyunko.cn>2024-06-17 04:24:14 +0800
commitdfec9f99d1726b3c3a4e9426f50c955fcaddb623 (patch)
tree6037a833b14cabd5ffda9b5a09f08229994fa616 /hydro_roll/config.py
parente914584e3e441a5b875e68d9443d99a745164e34 (diff)
downloadHydroRoll-dfec9f99d1726b3c3a4e9426f50c955fcaddb623.tar.gz
HydroRoll-dfec9f99d1726b3c3a4e9426f50c955fcaddb623.zip
chore(format): ruff lint code
Diffstat (limited to 'hydro_roll/config.py')
-rw-r--r--hydro_roll/config.py15
1 files changed, 7 insertions, 8 deletions
diff --git a/hydro_roll/config.py b/hydro_roll/config.py
index e0789a0..a1b1d8a 100644
--- a/hydro_roll/config.py
+++ b/hydro_roll/config.py
@@ -83,15 +83,14 @@ class Directory(object):
self.current_path = _path
def get_dice_dir_list(self, _prefix: str) -> list:
-
return [
- os.path.join(self.current_path, f'{_prefix}', *dirs)
+ os.path.join(self.current_path, f"{_prefix}", *dirs)
for dirs in [
- ['config'],
- ['data'],
- ['rules'],
- ['scripts'],
- ['web', 'frontend'],
- ['web', 'backend'],
+ ["config"],
+ ["data"],
+ ["rules"],
+ ["scripts"],
+ ["web", "frontend"],
+ ["web", "backend"],
]
]