An open source, non-profit web search engine
Check formatting, lint and types on commit and in CI
Daoud Clarkeed99fdadf91a
diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revsnew file mode 100644index 0000000..e7edfdd--- /dev/null+++ b/.git-blame-ignore-revs@@ -0,0 +1,9 @@+# Revisions to skip when running `git blame`.+#+# Enable locally with:+# git config blame.ignoreRevsFile .git-blame-ignore-revs+#+# GitHub and GitLab both honour this file automatically.++# Format the codebase with ruff and fix what the linter found+6cd5fb4d516f287cfeac03b93db6f29a2e350b20diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 995d1d5..b029c7a 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -6,6 +6,34 @@ on:pull_request:jobs:+ # Formatting, linting and type checking. Deliberately independent of the test job:+ # it needs neither the Rust toolchain nor a database, so it gives fast feedback.+ # `make check` here is exactly what .pre-commit-config.yaml runs on commit.+ lint:+ runs-on: ubuntu-latest++ steps:+ - name: Check out repository+ uses: actions/checkout@v3+ - name: Set up python+ uses: actions/setup-python@v4+ with:+ python-version: '3.11.12'+ - name: Install uv+ uses: astral-sh/setup-uv@v5+ with:+ enable-cache: true+ cache-dependency-glob: "uv.lock"+ #----------------------------------------------+ # Install the dependencies but not the project itself: building it means building+ # the Rust extension, which these checks do not need. ty resolves the first-party+ # `mwmbl` package from the source tree either way.+ #----------------------------------------------+ - name: Install dependencies+ run: uv sync --group dev --no-install-project+ - name: Check formatting, lint and types+ run: make check+test:runs-on: ubuntu-latestdiff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamlnew file mode 100644index 0000000..1e2ce37--- /dev/null+++ b/.pre-commit-config.yaml@@ -0,0 +1,41 @@+# Install with: make install-hooks+#+# Keep the hooks here in sync with the check targets in the Makefile and the lint job+# in .github/workflows/ci.yml - all three must run the same thing.++# Nothing here should touch the front end, generated data, or the Rust build outputs.+exclude: ^(devdata/|front-end/|test_env/|mwmbl_rank/target/)++repos:+ - repo: https://github.com/astral-sh/ruff-pre-commit+ # Keep this pinned to the same ruff version as the dev dependency group in+ # pyproject.toml, so the hook and `make check` cannot disagree.+ rev: v0.16.6+ hooks:+ - id: ruff-check+ args: [--fix]+ - id: ruff-format++ # ty is run from the project's own environment rather than a pre-commit-managed one:+ # it needs the installed third-party packages to resolve imports, and pinning it here+ # would mean pinning the version in two places.+ - repo: local+ hooks:+ - id: ty+ name: ty+ entry: make typecheck+ language: system+ types: [python]+ pass_filenames: false++ # Deliberately no end-of-file-fixer or trailing-whitespace here: ruff already handles+ # both for Python, and repo-wide they rewrite generated artifacts (the bundled XGBoost+ # model, the maturin-packaged domains JSON) and the contents of string literals.+ - repo: https://github.com/pre-commit/pre-commit-hooks+ rev: v6.0.0+ hooks:+ - id: check-yaml+ - id: check-toml+ - id: check-merge-conflict+ - id: check-added-large-files+ args: [--maxkb=2048]diff --git a/Makefile b/Makefileindex fb63e8e..e775bf9 100644--- a/Makefile+++ b/Makefile@@ -32,7 +32,8 @@ TEST_SETTINGS := mwmbl.settings_testSODIR := .venv/lib/python3.11/site-packages/mwmbl_rankXGB_SO := mwmbl_rank/target/release/deps/libxgboost.so-.PHONY: help install patch-xgboost migrate test test-file run run-background lint+.PHONY: help install install-hooks patch-xgboost migrate test test-file run run-background \+ check fix format format-check lint lint-fix typecheck typecheck-allhelp:@echo "Available targets:"@@ -42,6 +43,16 @@ help:@echo " test-file FILE Run a specific test file, e.g. make test-file FILE=test/test_search_api_key.py"@echo " run Start the Django development server"@echo " run-background Start the background task processor"+ @echo ""+ @echo " check Run every check CI runs: format-check, lint, typecheck"+ @echo " fix Auto-fix what can be auto-fixed: format + lint --fix"+ @echo " format Reformat the code with ruff"+ @echo " format-check Check formatting without writing (CI gate)"+ @echo " lint Run ruff lint checks"+ @echo " lint-fix Run ruff lint checks, applying safe fixes"+ @echo " typecheck Run ty, failing only on error-level diagnostics (CI gate)"+ @echo " typecheck-all Run ty showing the full warning backlog, never fails"+ @echo " install-hooks Install the pre-commit hooks into .git/hooks"install:uv sync@@ -77,3 +88,44 @@ run:run-background:DATABASE_URL="$(DATABASE_URL)" REDIS_URL="$(REDIS_URL)" \uv run python manage.py process_tasks --settings=$(DJANGO_SETTINGS_MODULE)++# ---------------------------------------------------------------------------+# Checks+#+# `make check` is exactly what CI and the pre-commit hook run. Keep the three+# targets below in sync with .pre-commit-config.yaml and .github/workflows/ci.yml.+# ---------------------------------------------------------------------------++check: format-check lint typecheck++fix: format lint-fix++format:+ uv run ruff format++format-check:+ uv run ruff format --check++lint:+ uv run ruff check++lint-fix:+ uv run ruff check --fix++# Most rules are downgraded to "warn" in pyproject.toml (see [tool.ty.rules]) because+# they have a large pre-existing baseline - notably Django's `Model.objects`, which ty+# cannot see. Print the error-level diagnostics only, and fail on those alone, so the+# warning backlog does not bury a real regression.+typecheck:+ @output=$$(uv run ty check --exit-zero-on-warning --output-format concise 2>&1); \+ status=$$?; \+ echo "$$output" | grep -E ' error\[' || true; \+ echo "$$output" | tail -n 1; \+ exit $$status++# The full backlog, warnings included. Advisory: never fails the build.+typecheck-all:+ uv run ty check --exit-zero-on-warning++install-hooks:+ uv run pre-commit installdiff --git a/README.md b/README.mdindex 9959054..6c02bd1 100644--- a/README.md+++ b/README.md@@ -151,6 +151,26 @@ DevelopmentFor trying out the service locally see the section in the Mwmbl [book](https://book.mwmbl.org/page/developers/).+### Code style and checks++Python code is formatted and linted with [ruff](https://docs.astral.sh/ruff/) and type checked+with [ty](https://github.com/astral-sh/ty). Both are configured in `pyproject.toml` and pinned in+the `dev` dependency group, so everyone runs the same versions.++Install the git hooks once, after `uv sync`:++ make install-hooks++From then on every commit is formatted and checked. To run the same checks by hand:++ make check # format check + lint + type check, exactly what CI runs+ make fix # reformat and apply the safe lint fixes++ty is gated on error-level diagnostics only. There is a large warning backlog - Django's+`Model.objects` is invisible to ty, which has no django-stubs plugin support - so the rules with+pre-existing violations are downgraded to warnings in `[tool.ty.rules]`. Run `make typecheck-all`+to see the whole backlog, and promote a rule back to `error` once its count reaches zero.+### Using DokkuNote: this method is not recommended as it is more involved, and your index will not include any data unless youdiff --git a/pyproject.toml b/pyproject.tomlindex df6a1f8..adbf5ba 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -81,6 +81,9 @@ dev = ["fakeredis>=2.30.1","maturin>=1.5,<2.0","patchelf>=0.17.2.4",+ "ruff>=0.16.6",+ "ty>=0.0.78",+ "pre-commit>=4.6.2",][tool.maturin]@@ -102,3 +105,76 @@ markers = ["live: hits real external endpoints; excluded from the default run. Run with -m live (used by the weekly Super Search smoke workflow).","slow: heavy CPU (e.g. XGBoost feature selection); excluded from the default run. Run with -m slow.",]++[tool.ruff]+line-length = 120+target-version = "py311"+extend-exclude = ["devdata", "front-end", "test_env"]++[tool.ruff.lint]+select = ["E", "F", "I"]+# The formatter owns line length. E501 only ever fires on things it cannot split -+# long string literals, URLs and markdown tables in API docs - where wrapping hurts.+ignore = ["E501"]++[tool.ruff.lint.per-file-ignores]+# Django settings modules build their config with star imports from a base module.+"mwmbl/settings*.py" = ["F403", "F405"]+# These modules must call django.setup() (or pytest.importorskip) before the imports+# that reach Django models or the Rust extension, so those imports cannot be at the top.+"analyse/analyse_crawled_links.py" = ["E402"]+"mwmbl/crawl.py" = ["E402"]+"mwmbl/rankeval/evaluation/compare_ltr_models.py" = ["E402"]+"test/test_rust_features.py" = ["E402"]++[tool.ruff.lint.isort]+known-first-party = ["mwmbl", "mwmbl_rank"]++[tool.ty.environment]+python-version = "3.11"++[tool.ty.src]+exclude = ["devdata", "front-end", "test_env", "scripts/train", "**/migrations"]++# ty is gated on CI and on commit, so every rule that has pre-existing violations is+# downgraded to "warn" here: the baseline is green and a NEW category of error fails the+# build. `make typecheck-warnings` lists everything still outstanding.+#+# Tighten these back to "error" one rule at a time as the counts come down. The counts+# below are the baseline at the time ty was introduced (2026-09-07).+[tool.ty.rules]+# 415, of which ~279 are Django's `Model.objects` - ty has no django-stubs plugin support,+# so the default manager is invisible to it. Not fixable in this repo today.+unresolved-attribute = "warn"+# 138. Mostly Django/numpy/pandas dynamism plus genuinely loose annotations.+invalid-argument-type = "warn"+# 37.+invalid-assignment = "warn"+# 31. Optional ML extras (torch, transformers, sentence-transformers), the pybloomfilter+# native module, and scripts that import their siblings by bare module name.+unresolved-import = "warn"+# 19.+not-iterable = "warn"+# 12.+not-subscriptable = "warn"+# 10.+unsupported-operator = "warn"+# 9.+invalid-parameter-default = "warn"+# 8.+invalid-method-override = "warn"+# 6.+no-matching-overload = "warn"+# 4.+invalid-return-type = "warn"+# 2.+invalid-type-form = "warn"+# 2 - both real: eval callers pass a 6th `ctx` argument to `_run_pipeline`, which takes 5.+too-many-positional-arguments = "warn"+# 1 - real: mwmbl/indexer/update_urls.py calls get_domain_max_urls() without+# `curated_domains`, so add_hn_links() raises TypeError.+missing-argument = "warn"+# 1.+empty-body = "warn"+# 1.+call-non-callable = "warn"diff --git a/uv.lock b/uv.lockindex aeae93d..35f63a4 100644--- a/uv.lock+++ b/uv.lock@@ -149,6 +149,15 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/95/5c/1b493356429f9aecfd56bc171285a4c4ac8697f76e9bbbbb105e537853a1/cffi-2.0.0-cp311-cp311-win_arm64.whl", hash = "sha256:c6638687455baf640e37344fe26d37c404db8b80d037c3d29f58fe8d1c3b194d", size = 177635, upload-time = "2025-09-08T23:22:43.623Z" },]+[[package]]+name = "cfgv"+version = "3.5.0"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/4e/b5/721b8799b04bf9afe054a3899c6cf4e880fcf8563cc71c15610242490a0c/cfgv-3.5.0.tar.gz", hash = "sha256:d5b1034354820651caa73ede66a6294d6e95c1b00acc5e9b098e917404669132", size = 7334, upload-time = "2025-11-19T20:55:51.612Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/db/3c/33bac158f8ab7f89b2e59426d5fe2e4f63f7ed25df84c036890172b412b5/cfgv-3.5.0-py2.py3-none-any.whl", hash = "sha256:a8dc6b26ad22ff227d2634a65cb388215ce6cc96bbcc5cfde7641ae87e8dacc0", size = 7445, upload-time = "2025-11-19T20:55:50.744Z" },+]+[[package]]name = "charset-normalizer"version = "3.4.7"@@ -270,6 +279,15 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/84/d0/205d54408c08b13550c733c4b85429e7ead111c7f0014309637425520a9a/deprecated-1.3.1-py2.py3-none-any.whl", hash = "sha256:597bfef186b6f60181535a29fbe44865ce137a5079f295b479886c82729d5f3f", size = 11298, upload-time = "2025-10-30T08:19:00.758Z" },]+[[package]]+name = "distlib"+version = "0.4.3"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/c9/02/bd72be9134d25ed783ecbbc38a539ffaefbf90c78418c7fb7229600dbac7/distlib-0.4.3.tar.gz", hash = "sha256:f152097224a0ae24be5a0f6bae1b9359af82133bce63f98a95f86cae1aede9ed", size = 615141, upload-time = "2026-06-12T08:04:52.847Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/02/08/9c41fb51ab5b43eb21674aff13df270e8ba6c4b29c8624e328dc7a9482af/distlib-0.4.3-py2.py3-none-any.whl", hash = "sha256:4b0ce306c966eb73bc3a7b6abad017c556dadd92c44701562cd528ac7fde4d5b", size = 470628, upload-time = "2026-06-12T08:04:50.506Z" },+]+[[package]]name = "dj-database-url"version = "3.1.2"@@ -587,6 +605,15 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/64/9c/a1a377265abd8b823a2c661c665028ccb6b9fba1ca9d08e52ff679c20ecd/huggingface_hub-1.22.0-py3-none-any.whl", hash = "sha256:b09e19309ae09ee0a71892701c4fe70af39ab4e00817321dc62f2289a977249b", size = 765085, upload-time = "2026-07-03T09:46:42.832Z" },]+[[package]]+name = "identify"+version = "2.6.19"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/52/63/51723b5f116cc04b061cb6f5a561790abf249d25931d515cd375e063e0f4/identify-2.6.19.tar.gz", hash = "sha256:6be5020c38fcb07da56c53733538a3081ea5aa70d36a156f83044bfbf9173842", size = 99567, upload-time = "2026-04-17T18:39:50.265Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/94/84/d9273cd09688070a6523c4aee4663a8538721b2b755c4962aafae0011e72/identify-2.6.19-py2.py3-none-any.whl", hash = "sha256:20e6a87f786f768c092a721ad107fc9df0eb89347be9396cadf3f4abbd1fb78a", size = 99397, upload-time = "2026-04-17T18:39:49.221Z" },+]+[[package]]name = "idna"version = "3.3"@@ -831,11 +858,14 @@ dev = [{ name = "fakeredis" },{ name = "maturin" },{ name = "patchelf" },+ { name = "pre-commit" },{ name = "pytest" },{ name = "pytest-asyncio" },{ name = "pytest-django" },{ name = "pytest-httpx" },{ name = "pytest-mock" },+ { name = "ruff" },+ { name = "ty" },][package.metadata]@@ -898,11 +928,23 @@ dev = [{ name = "fakeredis", specifier = ">=2.30.1" },{ name = "maturin", specifier = ">=1.5,<2.0" },{ name = "patchelf", specifier = ">=0.17.2.4" },+ { name = "pre-commit", specifier = ">=4.6.2" },{ name = "pytest", specifier = ">=7.0.1" },{ name = "pytest-asyncio", specifier = ">=0.23.0" },{ name = "pytest-django", specifier = ">=4.5.2" },{ name = "pytest-httpx", specifier = ">=0.30.0" },{ name = "pytest-mock", specifier = ">=3.10.0" },+ { name = "ruff", specifier = ">=0.16.6" },+ { name = "ty", specifier = ">=0.0.78" },+]++[[package]]+name = "nodeenv"+version = "1.10.0"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/24/bf/d1bda4f6168e0b2e9e5958945e01910052158313224ada5ce1fb2e1113b8/nodeenv-1.10.0.tar.gz", hash = "sha256:996c191ad80897d076bdfba80a41994c2b47c68e224c542b48feba42ba00f8bb", size = 55611, upload-time = "2025-12-20T14:08:54.006Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/88/b2/d0896bdcdc8d28a7fc5717c305f1a861c26e18c05047949fb371034d98bd/nodeenv-1.10.0-py2.py3-none-any.whl", hash = "sha256:5bb13e3eed2923615535339b3c620e76779af4cb4c6a90deccc9e36b274d3827", size = 23438, upload-time = "2025-12-20T14:08:52.782Z" },][[package]]@@ -1054,6 +1096,22 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/dc/e0/a88026b9432c7e2c0c096911ddc97cb06f483036a00a8afd5254efe1c16a/polar_sdk-0.31.7-py3-none-any.whl", hash = "sha256:acff8f3405046d45fa31130674f269314586fee1d3d2fec221eed21cb8697340", size = 902336, upload-time = "2026-06-12T06:51:01.002Z" },]+[[package]]+name = "pre-commit"+version = "4.6.2"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "cfgv" },+ { name = "identify" },+ { name = "nodeenv" },+ { name = "pyyaml" },+ { name = "virtualenv" },+]+sdist = { url = "https://files.pythonhosted.org/packages/74/89/1f3e8e1fc3e97de0fa963495832f581f025f29471602a309e48808244292/pre_commit-4.6.2.tar.gz", hash = "sha256:8f5d7bfb021ecdbcd9d49d89847082dd24172ccde534390081a679ad046e2441", size = 198670, upload-time = "2026-08-10T22:07:18.421Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/45/e2/bbb7129c9e7999a6b8ee9cca3b66486c25c423ab5a75f34071798b74ce94/pre_commit-4.6.2-py2.py3-none-any.whl", hash = "sha256:e2dde9a75d3bce11bd3831c26d134df00a2803c1d818be6a0383c3dcda25dc4e", size = 226202, upload-time = "2026-08-10T22:07:16.942Z" },+]+[[package]]name = "protobuf"version = "7.35.1"@@ -1331,6 +1389,18 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427", size = 229892, upload-time = "2024-03-01T18:36:18.57Z" },]+[[package]]+name = "python-discovery"+version = "1.6.0"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "filelock" },+]+sdist = { url = "https://files.pythonhosted.org/packages/91/96/0f93e27c9f60a650838f2118159aa115fd5732c0716247917b7ba7ede665/python_discovery-1.6.0.tar.gz", hash = "sha256:6393b4eae1be8b2182670635e7baff89ac21cb9f8e86fd1ff40c7b1144febb4c", size = 82849, upload-time = "2026-08-28T17:30:02.366Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/43/5e/21abf578182fb15006a57faf3711a1e659e29d600d19b6e557eae908c81d/python_discovery-1.6.0-py3-none-any.whl", hash = "sha256:d4e244cf17b8b29819ed78003d55fbacf86eda23425b075454fff9271b79377a", size = 38451, upload-time = "2026-08-28T17:30:01.236Z" },+]+[[package]]name = "python-dotenv"version = "1.2.2"@@ -1444,6 +1514,31 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/3b/5d/63d4ae3b9daea098d5d6f5da83984853c1bbacd5dc826764b249fe119d24/requests_oauthlib-2.0.0-py2.py3-none-any.whl", hash = "sha256:7dd8a5c40426b779b0868c404bdef9768deccf22749cde15852df527e6269b36", size = 24179, upload-time = "2024-03-22T20:32:28.055Z" },]+[[package]]+name = "ruff"+version = "0.16.6"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/a4/7c/6adb35d70e7c027e308274557901c7e00fb3407750faf3620c184ae058cb/ruff-0.16.6.tar.gz", hash = "sha256:dcf8a73d2ff77e99dde91244b4da16feba7f14e6beeb4015dee7c5a909e99050", size = 4921251, upload-time = "2026-09-03T16:57:29.037Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/a4/28/9cc1b79639e284ec103f43c88c644db4eb58cbd0ea1ca11f1193435369ac/ruff-0.16.6-py3-none-linux_armv6l.whl", hash = "sha256:61c368c26bf8e973e5ab14a2772de587bc068ea3f9a277f673380749b4898fb8", size = 10015638, upload-time = "2026-09-03T16:56:40.986Z" },+ { url = "https://files.pythonhosted.org/packages/71/11/627d342ef727ea7794edf74fe23d60a074b02c3acc2e9436684e782286ca/ruff-0.16.6-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:ecf4f068e2e123e43a26e9db4e19524cc56563912404e83bbfca375757e45a32", size = 10220762, upload-time = "2026-09-03T16:56:44.681Z" },+ { url = "https://files.pythonhosted.org/packages/43/d9/b75668ce41e4c8d073d18d6d08672ba6906ce45d5c06ea4fdb2e84ce3853/ruff-0.16.6-py3-none-macosx_11_0_arm64.whl", hash = "sha256:99b62ea33baf130f50368798d841f0d95527b6d817bf31817b65dd058f1d314c", size = 9835082, upload-time = "2026-09-03T16:56:47.142Z" },+ { url = "https://files.pythonhosted.org/packages/99/97/123ab10b05cde889c107c20f5a9774955104b5552796a2a8584b089ae8eb/ruff-0.16.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7fbf89013f2bb3f6835a6038ff658dc8a1b38c98dc8e724b964168ad4e881876", size = 9949304, upload-time = "2026-09-03T16:56:49.813Z" },+ { url = "https://files.pythonhosted.org/packages/3e/58/a4a2c59dd2e5b85929c912d9cac3056eb9ee8c7e75e9b9fe3e109174966b/ruff-0.16.6-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:56a67065e22efa6bc4d498299d3bb06c0c90aace8fac2068b5a12f9dc4d8d51d", size = 9840612, upload-time = "2026-09-03T16:56:52.368Z" },+ { url = "https://files.pythonhosted.org/packages/61/6a/ff8c8626a786c4f49d48ced4a752dadbca65f5263005f9c2416578194694/ruff-0.16.6-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e25cc89174874b176a157e4428d66761c2c0c006654419bf384f967f361ff1b1", size = 10543465, upload-time = "2026-09-03T16:56:55.089Z" },+ { url = "https://files.pythonhosted.org/packages/ad/bb/c47535923365f337b82e28192e4e9eef2176511007cfd99a62fc22df5dad/ruff-0.16.6-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:0700580ed5303723cb3c11c2f1d2a8913ce77b7ea86646dddb887f5417a9ba70", size = 11267576, upload-time = "2026-09-03T16:56:57.791Z" },+ { url = "https://files.pythonhosted.org/packages/ba/50/e5119a5212b5cd63b51e1f4b25e7bd636a6668fc069a3160b108ad7e3c16/ruff-0.16.6-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:15f1d0b6e165a6e56567befb6629f8209271311d990bae0f37e6d065035ef5f3", size = 10781993, upload-time = "2026-09-03T16:57:00.666Z" },+ { url = "https://files.pythonhosted.org/packages/8b/98/083d8b4ef3c51a0d19db84367791cbe9f44e4b53343d19dfa83556e1cd9a/ruff-0.16.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d72c591a96986ee4268860e2b7235082129ca5e4cb9cbba653a4b57c11893757", size = 10317748, upload-time = "2026-09-03T16:57:03.428Z" },+ { url = "https://files.pythonhosted.org/packages/9a/29/68f7ff2c5ad95f19f00627ac2de95644e25fe47371ea60b2db1fd952315e/ruff-0.16.6-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:65a006baa18f33324325814c864daef03541d51564b98c517610ea756ab7003e", size = 10540096, upload-time = "2026-09-03T16:57:06.182Z" },+ { url = "https://files.pythonhosted.org/packages/c4/f9/79a8f6de85968641d68a7863aeec577551924ef066a990a48ff93167beab/ruff-0.16.6-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:cd02a7bf1a21a8735228a3e8c95a9dc5cf86bd2a52194f4aaae2a5755b4de0f4", size = 10100494, upload-time = "2026-09-03T16:57:09.194Z" },+ { url = "https://files.pythonhosted.org/packages/d9/e8/b81a22d9b90c00b892ccf2fa2ac36fa95de4c13ab85aea3e73795cfe4651/ruff-0.16.6-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:31b36f1e5ad85e0737f09d2be4e512e2e283583c14015da3b9dc07359ac0fc88", size = 9843663, upload-time = "2026-09-03T16:57:12.168Z" },+ { url = "https://files.pythonhosted.org/packages/39/aa/54f516ec5e5a11c4afdceb1c454ebb054ffb96e4f4a1705580b4346abd35/ruff-0.16.6-py3-none-musllinux_1_2_i686.whl", hash = "sha256:61029b4ab4aa723fd3064fab96b1d814492596bf0c792679fffcbde1e1679953", size = 10282461, upload-time = "2026-09-03T16:57:15.077Z" },+ { url = "https://files.pythonhosted.org/packages/52/0b/38d0aa8aa32372b96dc44f97b22e576c4147808271aab7b2cb1e353d4445/ruff-0.16.6-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:9ac8998457832c2061709d900856b7ad271dace0cb41f346588d540162bfa718", size = 10728808, upload-time = "2026-09-03T16:57:17.797Z" },+ { url = "https://files.pythonhosted.org/packages/5e/e5/9e274e24eeb027640ffc7442f21239f16d17f47acec15ae34f32e03a5c79/ruff-0.16.6-py3-none-win32.whl", hash = "sha256:0b87d9d16fcb63e8018423ca1d50b7260f15cb2da33e30db4baad4183a948c25", size = 10049212, upload-time = "2026-09-03T16:57:20.55Z" },+ { url = "https://files.pythonhosted.org/packages/22/31/72472449414223ed1a2da236b992adbb1a2ae59e34794574810f60ce068e/ruff-0.16.6-py3-none-win_amd64.whl", hash = "sha256:10d21c51c3495d8eaea7b703a16592117ea6eb1d649e36335aa965ff1173eb39", size = 10556402, upload-time = "2026-09-03T16:57:23.501Z" },+ { url = "https://files.pythonhosted.org/packages/fc/07/d781f8f8e1ac24bef9f3269cf62ffb1407ca24c3a8f12e5e22874f90528c/ruff-0.16.6-py3-none-win_arm64.whl", hash = "sha256:7a976c79b958f94e50a022a19f0f8c87387448020935ec14fc74331bd0a7f2c5", size = 10412850, upload-time = "2026-09-03T16:57:26.416Z" },+]+[[package]]name = "s3transfer"version = "0.10.4"@@ -1633,6 +1728,31 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/d8/8e/bb97bb0c71802080bfc8952937d174e49cfc50de5c951dd47b2496f0dcdb/tqdm-4.68.3-py3-none-any.whl", hash = "sha256:39832cc2def2789a6f29df83f172db7416cea70052c0907a57801c5f2fdccb03", size = 78337, upload-time = "2026-06-17T07:36:50.132Z" },]+[[package]]+name = "ty"+version = "0.0.78"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/d8/c7/2ba0861384c5b5097ac354383abb98188112cb330208c21d5197e98a29e5/ty-0.0.78.tar.gz", hash = "sha256:770b45854f85fa11595208f08c0f28df80943164d10a2832d86be6ac29f135b2", size = 7050609, upload-time = "2026-09-02T22:41:33.92Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/ea/ed/f34cfc06a9ba72979df219e48dae1a0b6a6c74a340763ccd30a547edf913/ty-0.0.78-py3-none-linux_armv6l.whl", hash = "sha256:122700b98f9d45785c1ce91a9418154562e7f64f4bf34679f6f7b38c5b97453f", size = 13304624, upload-time = "2026-09-02T22:40:56.649Z" },+ { url = "https://files.pythonhosted.org/packages/1c/28/5576e2a08b57676d9b2a736d528f077a6c6e32c3d1de2d75dbbe28346966/ty-0.0.78-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:cbe7e3709ccf29ef3d9f58f5914cc30ec36fb647008a5a4ff8483abe401bfe8d", size = 12928383, upload-time = "2026-09-02T22:40:59.162Z" },+ { url = "https://files.pythonhosted.org/packages/8e/e0/027d49c3da5235e634da3d3fc52c4874ec89f50830388c9c259f8fb71e0e/ty-0.0.78-py3-none-macosx_11_0_arm64.whl", hash = "sha256:c3528897b3ab9d3589561bc2b5e61a4d5d686de527a4400bb09a439b922a6c70", size = 12730058, upload-time = "2026-09-02T22:41:01.235Z" },+ { url = "https://files.pythonhosted.org/packages/bb/bc/6bf8ffefd8063730a70ae889cf85def72bc155fd1453135ebf8a09c2f1c2/ty-0.0.78-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8bfba4c44a06484093f527b8ef43a317abcf91395b49396170266629eedf74aa", size = 12813321, upload-time = "2026-09-02T22:41:03.251Z" },+ { url = "https://files.pythonhosted.org/packages/6d/c0/b3cdf26f82108908d92fdb7ddb741019c446ceb666cf204d4dbf611bde33/ty-0.0.78-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:5f903c06fdee17baf8373173039ab28f1bce28e66b1c734929a5f50b37eb54d9", size = 13072219, upload-time = "2026-09-02T22:41:05.225Z" },+ { url = "https://files.pythonhosted.org/packages/4d/36/16bfb0abdd178dae11dbc4b57b9a86c2b62642a18c1103fd2c2930aa5879/ty-0.0.78-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:dd83e5fe3f07291d1bd4e591f8d2607c204f3eab53bcb1b8060c40e876e1aa61", size = 13903958, upload-time = "2026-09-02T22:41:07.333Z" },+ { url = "https://files.pythonhosted.org/packages/0f/0c/74d3b1f0344b13156c719dd68a7edf7e48c2051718c9f326ba3cbf45ea53/ty-0.0.78-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:325285377319cf7168a2b8b771ae5027f411530e3c7eab1faf4583cdd72fd7c9", size = 14355581, upload-time = "2026-09-02T22:41:09.56Z" },+ { url = "https://files.pythonhosted.org/packages/8d/d7/7ca0359e1e61b15b8b02328c8d120db3c507876b9b7c6bd9f26935353e0e/ty-0.0.78-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:54b7846a404da6492697b524a769755ee9bee157d67674063ecd9c5f69dc52ff", size = 14044749, upload-time = "2026-09-02T22:41:11.678Z" },+ { url = "https://files.pythonhosted.org/packages/3b/6a/731f16ff42c5fc96e742c2f4e0a6915356bae114ae02ae4af6f33502175f/ty-0.0.78-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:169d3b9d134c0b48fe1af8a844142d374655552054a9d6c15a4b6e51bb0382ea", size = 13391647, upload-time = "2026-09-02T22:41:13.928Z" },+ { url = "https://files.pythonhosted.org/packages/0c/af/250cc29daf310e837188509ea4d78460c495d8a74c4fb84b4152d9ef2d4f/ty-0.0.78-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:6108cb3b2d28dac5981d4e25008a0a5547d8c877a67f6da9e8c38e7e946be44f", size = 13945020, upload-time = "2026-09-02T22:41:15.968Z" },+ { url = "https://files.pythonhosted.org/packages/b8/f9/96aab1dee4535e66554e8dc7657c69f6c61c181d8e70b9c3527908e93ef4/ty-0.0.78-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:589ad03608d9d2975ef4b23c41c4f847e325bcc7686f51d4c66066b8dbc18a2a", size = 12851149, upload-time = "2026-09-02T22:41:18.06Z" },+ { url = "https://files.pythonhosted.org/packages/85/b0/53d8fe9a847534ef5fe2165c7d5292cb853b29dfd7011cbfb1cdb90a8012/ty-0.0.78-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:b3fa0786edc1af06030f872d83499c0cea7c261dbbb651e0aee8306bf2c8a869", size = 13091464, upload-time = "2026-09-02T22:41:20.227Z" },+ { url = "https://files.pythonhosted.org/packages/21/65/94a4e5a02de559f6c6c0ee7a14b88660b4eee058ec6fec5c0ff6ecfbf5cc/ty-0.0.78-py3-none-musllinux_1_2_i686.whl", hash = "sha256:92c5639befc577578c8abd4e5a7fccf98d828db98b09e8d4dd81605dc0e54aef", size = 13389389, upload-time = "2026-09-02T22:41:22.27Z" },+ { url = "https://files.pythonhosted.org/packages/2e/b6/d0c7fe6be64ca5a15100c4b1f0e39c19660d53bc544f609fa117b346e661/ty-0.0.78-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:0dce70bc51652b2775debd1d1e422fb0179f5207c73deb4d5d0aca37e5f61695", size = 13691928, upload-time = "2026-09-02T22:41:24.292Z" },+ { url = "https://files.pythonhosted.org/packages/0a/5d/36081205611ba3fa802efc4ad63e4b1e949bda2f7bb37b34ac9bb6c00db0/ty-0.0.78-py3-none-win32.whl", hash = "sha256:1c80976ca9185d7a9d1baab1fb57240331b8dac58d3b11e46200284086a6de8d", size = 12647346, upload-time = "2026-09-02T22:41:26.699Z" },+ { url = "https://files.pythonhosted.org/packages/f1/89/b925fe1ea1bc56fc7f11d2496e29072fdd2ceb7b389884fc7b2d07cf0c41/ty-0.0.78-py3-none-win_amd64.whl", hash = "sha256:32e82b704471eab34f67b51c151660ca8a00815977b28278905d76fba54f7415", size = 13241810, upload-time = "2026-09-02T22:41:28.857Z" },+ { url = "https://files.pythonhosted.org/packages/91/f1/090ef7b52355bcedfbfbff6ce70fa81ba5bd5f6ed3f8d99ae05e6f2fe75b/ty-0.0.78-py3-none-win_arm64.whl", hash = "sha256:3a14d641a3c04fa9a80f2a46be1531d915f60d4fb79d4b894627bbe46bb35d64", size = 13077433, upload-time = "2026-09-02T22:41:31.525Z" },+]+[[package]]name = "types-deprecated"version = "1.3.1.20260408"@@ -1721,6 +1841,21 @@ wheels = [{ url = "https://files.pythonhosted.org/packages/b7/23/a5bbd9600dd607411fa644c06ff4951bec3a4d82c4b852374024359c19c0/uvicorn-0.44.0-py3-none-any.whl", hash = "sha256:ce937c99a2cc70279556967274414c087888e8cec9f9c94644dfca11bd3ced89", size = 69425, upload-time = "2026-04-06T09:23:21.524Z" },]+[[package]]+name = "virtualenv"+version = "21.7.8"+source = { registry = "https://pypi.org/simple" }+dependencies = [+ { name = "distlib" },+ { name = "filelock" },+ { name = "platformdirs" },+ { name = "python-discovery" },+]+sdist = { url = "https://files.pythonhosted.org/packages/08/1c/69faa2e6a83484e2a8227bce5cfaa183941c5720f99c48f204931d286b07/virtualenv-21.7.8.tar.gz", hash = "sha256:1dc49c790072a9072cb1803f9bd62aa69cd583077cada32390f75505cdc64c9b", size = 5347580, upload-time = "2026-09-01T13:36:13.894Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/9f/34/88d507d4a4030fa559788de9c690a214f9a4053aa1d91cfb60e9b36127c2/virtualenv-21.7.8-py3-none-any.whl", hash = "sha256:3040eb3cbf5d32b10ffd57d167e6a162237ad82ba7d8cf1400a1efed593d85ac", size = 5324617, upload-time = "2026-09-01T13:36:11.248Z" },+]+[[package]]name = "warcio"version = "1.7.4"