[project] name = 'dch-webhooks' authors = [ {name = "Dustin C. Hatch", email = "dustin@hatch.name"}, ] description = "Webhook receiver for internal automation" requires-python = ">=3.11" license = {text = "CC0"} classifiers = [ "License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication", "Programming Language :: Python :: 3", ] dependencies = [ "fastapi~=0.97.0", "httpx~=0.24.1", "pika>=1.3.2", "pyrfc6266~=1.0.2", "python-multipart>=0.0.20", "ruamel-yaml>=0.18.10", ] dynamic = ["version"] [build-system] requires = ["setuptools", "setuptools-scm"] build-backend = "setuptools.build_meta" [tool.setuptools_scm] [tool.pyright] venvPath = '.' venv = '.venv' [tool.black] line-length = 79 skip-string-normalization = true [tool.isort] line_length = 79 ensure_newline_before_comments = true force_grid_wrap = 0 include_trailing_comma = true lines_after_imports = 2 multi_line_output = 3 use_parentheses = true [tool.mypy] mypy_path = 'stubs' namespace_packages = true ignore_missing_imports = true warn_redundant_casts = true warn_unused_configs = true warn_unused_ignores = true allow_untyped_globals = false allow_redefinition = false strict_optional = true disallow_subclassing_any = true disallow_any_generics = true disallow_untyped_defs = true disallow_incomplete_defs = true check_untyped_defs = true disallow_untyped_decorators = true no_implicit_optional = true warn_return_any = true [dependency-groups] dev = [ "uvicorn>=0.34.0", ]