[build-system] requires = ["setuptools>=61.0", "wheel"] build-backend = "setuptools.build_meta" [project] name = "localapi-docs" version = "0.1.0" description = "A CLI tool that generates local, privacy-focused API documentation server from OpenAPI/Swagger specs" readme = "README.md" requires-python = ">=3.9" license = {text = "MIT"} authors = [ {name = "LocalAPI Docs", email = "dev@localapi.example.com"} ] keywords = ["api", "documentation", "openapi", "swagger", "cli"] classifiers = [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", ] dependencies = [ "click>=8.1.0", "pydantic>=2.0.0", "jinja2>=3.1.0", "pyyaml>=6.0.0", "openapi-spec-validator>=0.6.0", "python-json-logger>=2.0.0", ] [project.optional-dependencies] dev = [ "pytest>=7.0.0", "pytest-cov>=4.0.0", "ruff>=0.1.0", "mypy>=1.0.0", ] [project.scripts] localapi-docs = "src.cli:main" [tool.pytest.ini_options] testpaths = ["tests"] python_files = ["test_*.py"] python_functions = ["test_*"] addopts = "-v --tb=short" [tool.ruff] target-version = "py39" line-length = 100 [tool.ruff.lint] select = ["E", "F", "W", "C90", "I", "N", "UP", "B", "C4"] ignore = ["C901"] [tool.ruff.lint.per-file-ignores] "__init__.py" = ["F401"] [tool.mypy] python_version = "3.9" warn_return_any = true warn_unused_ignores = true disallow_untyped_defs = false