Spaces:
Paused
Paused
| [tool.pysen] | |
| version = "0.11.0" | |
| [tool.pysen.lint] | |
| enable_black = true | |
| enable_flake8 = true | |
| enable_isort = true | |
| enable_mypy = true | |
| mypy_preset = "strict" | |
| mypy_plugins = [ | |
| { function = "numpy.typing.mypy_plugin" }, | |
| { function = "pydantic.mypy" }, | |
| ] | |
| line_length = 88 | |
| py_version = "py311" | |
| isort_known_first_party = ["voicevox_engine"] | |
| isort_known_third_party = ["numpy"] | |
| [[tool.pysen.lint.mypy_targets]] | |
| paths = ["."] | |
| [tool.black] # automatically generated by pysen | |
| # pysen ignores and overwrites any modifications | |
| line-length = 88 | |
| target-version = ["py311"] | |
| [tool.isort] # automatically generated by pysen | |
| # pysen ignores and overwrites any modifications | |
| default_section = "THIRDPARTY" | |
| ensure_newline_before_comments = true | |
| force_grid_wrap = 0 | |
| force_single_line = false | |
| include_trailing_comma = true | |
| known_first_party = ["voicevox_engine"] | |
| known_third_party = ["numpy"] | |
| line_length = 88 | |
| multi_line_output = 3 | |
| use_parentheses = true | |
| [tool.typos.default.extend-words] | |
| datas = "datas" # PyInstaller's argument | |
| [tool.poetry] | |
| package-mode = false | |
| [tool.poetry.dependencies] | |
| python = "~3.11" | |
| numpy = "^1.26.0" | |
| fastapi-slim = "^0.111.0" | |
| jinja2 = "^3.1.3" # NOTE: required by fastapi.templating.Jinja2Templates (fastapi-slim's unmanaged dependency) | |
| python-multipart = "^0.0.9" # NOTE: required by fastapi.Form (fastapi-slim's unmanaged dependency) | |
| uvicorn = "^0.29.0" | |
| soundfile = "^0.12.1" | |
| pyyaml = "^6.0.1" | |
| pyworld = "^0.3.0" | |
| pyopenjtalk = { git = "https://github.com/VOICEVOX/pyopenjtalk", rev = "b35fc89fe42948a28e33aed886ea145a51113f88" } | |
| semver = "^3.0.0" | |
| platformdirs = "^4.2.0" | |
| soxr = "^0.3.6" | |
| pydantic = "^2.7.3" | |
| starlette = "^0.37.0" | |
| [tool.poetry.group.dev.dependencies] | |
| pysen = "^0.11.0" | |
| black = "^24.4.0" | |
| flake8-bugbear = "^24.4.26" | |
| flake8 = "^7.0.0" | |
| isort = "^5.13.0" | |
| mypy = "^1.10.0" | |
| pytest = "^8.2.0" | |
| coveralls = "^3.2.0" | |
| poetry = "1.8.2" | |
| poetry-plugin-export = "^1.8.0" | |
| httpx = "^0.27.0" # NOTE: required by fastapi.testclient.TestClient (fastapi-slim's unmanaged dependency) | |
| syrupy = "^4.6.1" | |
| types-pyyaml = "^6.0.12" | |
| safety = "^3.1.0" | |
| pip-licenses = "4.4.0" # NOTE: must be specified exactly (c.f. #1281) | |
| pre-commit = "^2.16.0" | |
| [tool.poetry.group.build.dependencies] | |
| pyinstaller = "^5.13" | |
| [build-system] | |
| requires = ["poetry-core"] | |
| build-backend = "poetry.core.masonry.api" | |