diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..0265995 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,34 @@ +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[project] +name = "ntr-fetcher" +version = "0.1.0" +description = "SoundCloud likes fetcher for Nick the Rat Radio" +requires-python = ">=3.11" +dependencies = [ + "fastapi", + "uvicorn[standard]", + "httpx", + "pydantic-settings", +] + +[project.optional-dependencies] +dev = [ + "pytest", + "pytest-asyncio", + "pytest-httpx", + "ruff", +] + +[project.scripts] +ntr-fetcher = "ntr_fetcher.main:run" + +[tool.pytest.ini_options] +asyncio_mode = "auto" +testpaths = ["tests"] + +[tool.ruff] +target-version = "py311" +src = ["src"] diff --git a/src/ntr_fetcher/__init__.py b/src/ntr_fetcher/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/ntr_fetcher/main.py b/src/ntr_fetcher/main.py new file mode 100644 index 0000000..e3d3b89 --- /dev/null +++ b/src/ntr_fetcher/main.py @@ -0,0 +1,3 @@ +def run() -> None: + """Entry point for ntr-fetcher CLI.""" + pass diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/conftest.py b/tests/conftest.py new file mode 100644 index 0000000..5871ed8 --- /dev/null +++ b/tests/conftest.py @@ -0,0 +1 @@ +import pytest