CoolFace
Apppublic

meta-scaler/procurement

sourceHugging Faceupdated 6mo agoView on Hugging Face
0likes
pyproject.toml88 linesDownload Raw Back to root
1[project]2name = "procurement-contract-audit"3version = "0.1.0"4requires-python = ">=3.10,<3.13"5dependencies = [6    "openenv-core",7    "fastapi",8    "uvicorn",9    "pydantic>=2.0",10    "openai",11    "python-dotenv",12]13 14[project.optional-dependencies]15dev = [16    "pytest>=8.0",17    "pytest-asyncio>=0.23",18    "httpx>=0.27",19    "ruff>=0.3",20    "pyright>=1.1",21]22 23[project.scripts]24server = "server.app:main"25 26[build-system]27requires = ["hatchling"]28build-backend = "hatchling.build"29 30[tool.hatch.build.targets.wheel]31packages = ["server"]32 33[tool.hatch.build.targets.wheel.force-include]34"models.py" = "models.py"35"client.py" = "client.py"36"my_env.py" = "my_env.py"37 38[tool.hatch.build.targets.sdist]39include = [40    "server/**",41    "server/static/**",42    "models.py",43    "client.py",44    "my_env.py",45    "openenv.yaml",46    "README.md",47    "inference.py",48    "pyproject.toml",49    "Dockerfile",50]51 52[tool.pytest.ini_options]53testpaths = ["tests"]54python_files = ["test_*.py"]55python_classes = ["Test*"]56python_functions = ["test_*"]57asyncio_mode = "auto"58 59[tool.ruff]60target-version = "py310"61line-length = 12062 63[tool.ruff.lint]64select = [65    "E",   # pycodestyle errors66    "W",   # pycodestyle warnings67    "F",   # pyflakes68    "I",   # isort69    "N",   # pep8-naming70    "UP",  # pyupgrade71    "B",   # flake8-bugbear72    "SIM", # flake8-simplify73    "RUF", # ruff-specific rules74]75ignore = [76    "E501",  # line length handled by formatter77]78 79[tool.ruff.lint.isort]80known-first-party = ["server", "models", "client"]81 82[tool.pyright]83pythonVersion = "3.10"84pythonPlatform = "All"85typeCheckingMode = "basic"86include = ["server", "models.py", "client.py", "inference.py"]87exclude = ["**/__pycache__", ".venv", "tests"]88