[project] name = "open-provence-demo" version = "0.1.0" description = "Add your description here" readme = "README.md" requires-python = ">=3.12" dependencies = [ "accelerate>=1.11.0", "datasets>=4.3.0", "fast-bunkai>=0.1.1", "gradio==5.49.1", "nltk>=3.9.2", "protobuf>=6.33.0", "psutil>=7.1.2", "sentencepiece>=0.2.1", "tokenizers>=0.22.1", "torch>=2.9.0", "transformers>=4.57.1", ] [dependency-groups] dev = [ "pyright>=1.1.407", "ruff>=0.14.2", "tox-uv>=1.29.0", "watchfiles>=1.1.1", ] [tool.ruff] target-version = "py312" line-length = 99 fix = true src = ["."] extend-exclude = [ "configs", "debug_output", "docs", "htmlcov", "log", "output", "results", "open_provence.egg-info", "tmp", "utils", "wandb", "**/.mypy_cache", "**/.pytest_cache", ".tox", "venv", ".venv", ] include = ["**/*.py"] [tool.ruff.lint] select = [ "E", "F", "W", "I", "UP", ] ignore = [ "E203", "E501", "D105", "D107", "D205", "D415", "E731", ] [tool.ruff.lint.per-file-ignores] "examples/**" = ["E402", "I002"] "docs/**" = ["I002"] [tool.ruff.lint.isort] known-third-party = ["datasets"] required-imports = ["from __future__ import annotations"] [tool.ruff.lint.pydocstyle] convention = "google" [tool.ruff.format] quote-style = "double" [tool.pyright] pythonVersion = "3.12" pythonPlatform = "Linux" typeCheckingMode = "standard" reportMissingImports = "none" reportUnusedImport = "warning" reportUnusedClass = true reportUnusedFunction = true reportUnusedVariable = "warning" reportDuplicateImport = true reportOptionalSubscript = false reportOptionalMemberAccess = false reportOptionalCall = false reportOptionalIterable = false reportOptionalContextManager = false reportOptionalOperand = false exclude = [ "configs", "debug_output", "docs", "log", "output", "results", "open_provence.egg-info", "tmp", "utils", "wandb", "**/__pycache__", ".venv", "venv", ".tox", ] include = [ "app.py", "main.py", "example_inputs.py", ]