[project] name = "amo-server" version = "0.1.0" description = "AMO CRM data collection service" authors = [ {name = "Developer", email = "dev@example.com"} ] dependencies = [ "fastapi>=0.104.0", "uvicorn[standard]>=0.24.0", "sqlalchemy>=2.0.0", "alembic>=1.13.0", "psycopg2-binary>=2.9.9", "pydantic>=2.5.0", "pydantic-settings>=2.1.0", "httpx>=0.25.0", "python-multipart>=0.0.6", "google-api-python-client>=2.100.0", "google-auth-httplib2>=0.2.0", "google-auth-oauthlib>=1.1.0", "faststream[cli]>=0.5.0", "redis>=5.0.0", "python-dotenv>=1.0.0", "apscheduler>=3.10.0", ] requires-python = ">=3.12" readme = "README.md" license = {text = "MIT"} [project.optional-dependencies] dev = [ "pytest>=7.4.0", "pytest-asyncio>=0.21.0", "pytest-cov>=4.1.0", "black>=23.9.0", "isort>=5.12.0", "flake8>=6.1.0", "mypy>=1.6.0", "pre-commit>=3.5.0", ] [build-system] requires = ["hatchling"] build-backend = "hatchling.build" [tool.hatch.build.targets.wheel] packages = ["adapters", "routers", "servers", "utils", "workers"] [tool.black] line-length = 88 target-version = ['py312'] include = '\.pyi?$' extend-exclude = ''' /( # directories \.eggs | \.git | \.hg | \.mypy_cache | \.tox | \.venv | build | dist )/ ''' [tool.isort] profile = "black" multi_line_output = 3 line_length = 88 known_first_party = ["adapters", "routers", "servers", "utils", "workers"] [tool.mypy] python_version = "3.12" check_untyped_defs = true disallow_untyped_defs = true disallow_incomplete_defs = true warn_redundant_casts = true warn_unused_ignores = true strict_optional = true [tool.pytest.ini_options] testpaths = ["tests"] asyncio_mode = "auto" addopts = "--cov=. --cov-report=term-missing --cov-report=html"