Update hatch setting and fmt

This commit is contained in:
litagin02
2024-03-15 21:36:53 +09:00
parent 2ee4f4ac86
commit 14c6805337
4 changed files with 10 additions and 5 deletions

View File

@@ -39,7 +39,7 @@ dependencies = [
'pyworld-prebuilt',
'safetensors',
'scipy',
'torch>=2.1,<2.2',
'torch>=2.1',
'transformers',
]
@@ -102,11 +102,11 @@ dependencies = [
[tool.hatch.envs.style.scripts]
check = [
"black --check --diff .",
"isort --check-only --diff --profile black --gitignore --lai 2 .",
"isort --check-only --diff --profile black --gitignore --lai 2 . --sg \"Data/*\" --sg \"inputs/*\" --sg \"model_assets/*\" --sg \"static/*\"",
]
fmt = [
"black .",
"isort --profile black --gitignore --lai 2 .",
"isort --profile black --gitignore --lai 2 . --sg \"Data/*\" --sg \"inputs/*\" --sg \"model_assets/*\" --sg \"static/*\"",
"check",
]