From dfec9f99d1726b3c3a4e9426f50c955fcaddb623 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Mon, 17 Jun 2024 04:24:14 +0800 Subject: chore(format): ruff lint code --- hydro_roll/config.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'hydro_roll/config.py') 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"], ] ] -- cgit v1.2.3-70-g09d2