diff options
| author | 2024-06-17 04:24:14 +0800 | |
|---|---|---|
| committer | 2024-06-17 04:24:14 +0800 | |
| commit | dfec9f99d1726b3c3a4e9426f50c955fcaddb623 (patch) | |
| tree | 6037a833b14cabd5ffda9b5a09f08229994fa616 /hydro_roll/config.py | |
| parent | e914584e3e441a5b875e68d9443d99a745164e34 (diff) | |
| download | HydroRoll-dfec9f99d1726b3c3a4e9426f50c955fcaddb623.tar.gz HydroRoll-dfec9f99d1726b3c3a4e9426f50c955fcaddb623.zip | |
chore(format): ruff lint code
Diffstat (limited to 'hydro_roll/config.py')
| -rw-r--r-- | hydro_roll/config.py | 15 |
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"], ] ] |
