ferro-orm 0.24.0__tar.gz → 0.26.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ferro_orm-0.26.0/.github/workflows/ci.yml +363 -0
- ferro_orm-0.26.0/.github/workflows/publish-docs.yml +68 -0
- ferro_orm-0.26.0/.pre-commit-config.yaml +60 -0
- ferro_orm-0.26.0/AGENTS.md +659 -0
- ferro_orm-0.26.0/CHANGELOG.md +1753 -0
- ferro_orm-0.26.0/CONTRIBUTING.md +383 -0
- ferro_orm-0.26.0/Cargo.lock +2331 -0
- ferro_orm-0.26.0/Cargo.toml +50 -0
- ferro_orm-0.26.0/GLOSSARY.md +456 -0
- ferro_orm-0.26.0/PKG-INFO +95 -0
- ferro_orm-0.26.0/README.md +77 -0
- ferro_orm-0.26.0/crates/ferro-ddl-lowering/src/lib.rs +8510 -0
- ferro_orm-0.26.0/crates/ferro-migrate/src/directory.rs +2518 -0
- ferro_orm-0.26.0/crates/ferro-migrate/src/emit.rs +889 -0
- ferro_orm-0.26.0/crates/ferro-migrate/src/generate/compose.rs +1633 -0
- ferro_orm-0.26.0/crates/ferro-migrate/src/generate/mod.rs +4846 -0
- ferro_orm-0.26.0/crates/ferro-migrate/src/lib.rs +811 -0
- ferro_orm-0.26.0/crates/ferro-migrate/src/run_plan/step_class.rs +1627 -0
- ferro_orm-0.26.0/crates/ferro-migrate/src/run_plan.rs +6830 -0
- ferro_orm-0.26.0/crates/ferro-migrate/src/snapshot.rs +698 -0
- ferro_orm-0.26.0/crates/ferro-migrate/src/tests.rs +6246 -0
- ferro_orm-0.26.0/docs/adr/0002-unified-column-fact-derivation.md +83 -0
- ferro_orm-0.26.0/docs/adr/0006-relation-traversal-inner-joins.md +42 -0
- ferro_orm-0.26.0/docs/adr/0007-materialization-plan-complete-instances.md +53 -0
- ferro_orm-0.26.0/docs/adr/0008-populated-relations-include.md +74 -0
- ferro_orm-0.26.0/docs/adr/0009-aggregate-projections-derived-grouping.md +70 -0
- ferro_orm-0.26.0/docs/adr/0010-create-pass-owns-only-missing-tables.md +41 -0
- ferro_orm-0.26.0/docs/adr/0011-label-addition-update-gated-append-only.md +67 -0
- ferro_orm-0.26.0/docs/adr/0017-omitted-nulls-means-last.md +26 -0
- ferro_orm-0.26.0/docs/adr/0018-position-paging.md +35 -0
- ferro_orm-0.26.0/docs/adr/0023-schema-snapshots-outlive-ir-versions.md +14 -0
- ferro_orm-0.26.0/docs/adr/0028-python-sequences-a-run-rust-decides-and-executes.md +20 -0
- ferro_orm-0.26.0/docs/adr/0030-a-finished-step-is-re-recorded-an-unfinished-one-may-be-edited.md +32 -0
- ferro_orm-0.26.0/docs/adr/0031-a-baseline-is-verified-and-has-no-override.md +44 -0
- ferro_orm-0.26.0/docs/adr/0038-connect-never-runs-migration-files-and-a-tracked-database-refuses-auto-migrate.md +76 -0
- ferro_orm-0.26.0/docs/adr/0056-a-squash-is-planned-across-snapshots-and-a-database-that-ran-the-originals-adopts-it.md +86 -0
- ferro_orm-0.26.0/docs/adr/0057-sql-is-seen-through-the-statement-log-and-a-terminals-sql.md +44 -0
- ferro_orm-0.26.0/docs/agents/domain.md +51 -0
- ferro_orm-0.26.0/docs/agents/issue-tracker.md +46 -0
- ferro_orm-0.26.0/docs/examples/_ledger_seed.py +107 -0
- ferro_orm-0.26.0/docs/examples/_migrations_project.py +153 -0
- ferro_orm-0.26.0/docs/examples/_preludes/__init__.py +102 -0
- ferro_orm-0.26.0/docs/examples/_preludes/auto_migrate.py +56 -0
- ferro_orm-0.26.0/docs/examples/_preludes/concepts.py +27 -0
- ferro_orm-0.26.0/docs/examples/_preludes/connections.py +35 -0
- ferro_orm-0.26.0/docs/examples/_preludes/invoices.py +43 -0
- ferro_orm-0.26.0/docs/examples/_preludes/jwt_claims.py +34 -0
- ferro_orm-0.26.0/docs/examples/_preludes/label_addition.py +44 -0
- ferro_orm-0.26.0/docs/examples/_preludes/queries.py +40 -0
- ferro_orm-0.26.0/docs/examples/_preludes/raw_sql.py +35 -0
- ferro_orm-0.26.0/docs/examples/_preludes/reference.py +49 -0
- ferro_orm-0.26.0/docs/examples/_preludes/upgrade.py +53 -0
- ferro_orm-0.26.0/docs/examples/aggregations.py +328 -0
- ferro_orm-0.26.0/docs/examples/aggregations_annotated.py +328 -0
- ferro_orm-0.26.0/docs/examples/auto_migrate_errors.py +163 -0
- ferro_orm-0.26.0/docs/examples/concepts.py +158 -0
- ferro_orm-0.26.0/docs/examples/concepts_annotated.py +159 -0
- ferro_orm-0.26.0/docs/examples/enum_labels.py +46 -0
- ferro_orm-0.26.0/docs/examples/enum_labels_annotated.py +47 -0
- ferro_orm-0.26.0/docs/examples/existence_tests.py +182 -0
- ferro_orm-0.26.0/docs/examples/faq.py +52 -0
- ferro_orm-0.26.0/docs/examples/faq_annotated.py +52 -0
- ferro_orm-0.26.0/docs/examples/from_sqlalchemy.py +107 -0
- ferro_orm-0.26.0/docs/examples/from_sqlalchemy_annotated.py +107 -0
- ferro_orm-0.26.0/docs/examples/migration_errors.py +113 -0
- ferro_orm-0.26.0/docs/examples/migrations_adopting.py +146 -0
- ferro_orm-0.26.0/docs/examples/migrations_backfill.py +80 -0
- ferro_orm-0.26.0/docs/examples/migrations_backfill_annotated.py +82 -0
- ferro_orm-0.26.0/docs/examples/migrations_quickstart.py +54 -0
- ferro_orm-0.26.0/docs/examples/migrations_quickstart_annotated.py +56 -0
- ferro_orm-0.26.0/docs/examples/migrations_rename.py +93 -0
- ferro_orm-0.26.0/docs/examples/migrations_rename_annotated.py +95 -0
- ferro_orm-0.26.0/docs/examples/migrations_retire.py +92 -0
- ferro_orm-0.26.0/docs/examples/migrations_retire_annotated.py +93 -0
- ferro_orm-0.26.0/docs/examples/migrations_retire_label.py +96 -0
- ferro_orm-0.26.0/docs/examples/migrations_retire_label_annotated.py +97 -0
- ferro_orm-0.26.0/docs/examples/migrations_squash.py +101 -0
- ferro_orm-0.26.0/docs/examples/migrations_squash_annotated.py +105 -0
- ferro_orm-0.26.0/docs/examples/migrations_testing.py +149 -0
- ferro_orm-0.26.0/docs/examples/migrations_testing_annotated.py +151 -0
- ferro_orm-0.26.0/docs/examples/models_and_fields.py +271 -0
- ferro_orm-0.26.0/docs/examples/models_and_fields_annotated.py +274 -0
- ferro_orm-0.26.0/docs/examples/multiple_databases.py +84 -0
- ferro_orm-0.26.0/docs/examples/multiple_databases_annotated.py +85 -0
- ferro_orm-0.26.0/docs/examples/mutations.py +244 -0
- ferro_orm-0.26.0/docs/examples/mutations_annotated.py +245 -0
- ferro_orm-0.26.0/docs/examples/pagination.py +154 -0
- ferro_orm-0.26.0/docs/examples/pagination_annotated.py +155 -0
- ferro_orm-0.26.0/docs/examples/partial_selects.py +209 -0
- ferro_orm-0.26.0/docs/examples/populated_relations.py +185 -0
- ferro_orm-0.26.0/docs/examples/predicates.py +372 -0
- ferro_orm-0.26.0/docs/examples/predicates_annotated.py +372 -0
- ferro_orm-0.26.0/docs/examples/quickstart.py +133 -0
- ferro_orm-0.26.0/docs/examples/quickstart_annotated.py +133 -0
- ferro_orm-0.26.0/docs/examples/raw_sql.py +93 -0
- ferro_orm-0.26.0/docs/examples/raw_sql_annotated.py +94 -0
- ferro_orm-0.26.0/docs/examples/readme_quickstart.py +36 -0
- ferro_orm-0.26.0/docs/examples/readme_quickstart_annotated.py +37 -0
- ferro_orm-0.26.0/docs/examples/relationships.py +209 -0
- ferro_orm-0.26.0/docs/examples/relationships_annotated.py +209 -0
- ferro_orm-0.26.0/docs/examples/row_level_security.py +251 -0
- ferro_orm-0.26.0/docs/examples/row_level_security_annotated.py +251 -0
- ferro_orm-0.26.0/docs/examples/soft_deletes.py +100 -0
- ferro_orm-0.26.0/docs/examples/soft_deletes_annotated.py +101 -0
- ferro_orm-0.26.0/docs/examples/table_checks.py +86 -0
- ferro_orm-0.26.0/docs/examples/table_checks_annotated.py +86 -0
- ferro_orm-0.26.0/docs/examples/testing_conftest.py +38 -0
- ferro_orm-0.26.0/docs/examples/testing_conftest_postgres.py +44 -0
- ferro_orm-0.26.0/docs/examples/testing_models.py +46 -0
- ferro_orm-0.26.0/docs/examples/testing_models_annotated.py +46 -0
- ferro_orm-0.26.0/docs/examples/timestamps.py +101 -0
- ferro_orm-0.26.0/docs/examples/timestamps_annotated.py +102 -0
- ferro_orm-0.26.0/docs/examples/transactions.py +128 -0
- ferro_orm-0.26.0/docs/examples/transactions_annotated.py +129 -0
- ferro_orm-0.26.0/docs/examples/traversal.py +325 -0
- ferro_orm-0.26.0/docs/examples/upgrade_account.py +55 -0
- ferro_orm-0.26.0/docs/examples/upgrade_account_annotated.py +56 -0
- ferro_orm-0.26.0/docs/examples/upgrade_foreign_default.py +54 -0
- ferro_orm-0.26.0/docs/examples/upgrade_keep.py +51 -0
- ferro_orm-0.26.0/docs/examples/upgrade_keep_annotated.py +52 -0
- ferro_orm-0.26.0/docs/examples/upgrade_primary_key.py +21 -0
- ferro_orm-0.26.0/docs/examples/upgrade_primary_key_annotated.py +23 -0
- ferro_orm-0.26.0/docs/includes/abbreviations.md +19 -0
- ferro_orm-0.26.0/docs/includes/field-types.md +40 -0
- ferro_orm-0.26.0/docs/pages/api/connection.md +71 -0
- ferro_orm-0.26.0/docs/pages/api/exceptions.md +112 -0
- ferro_orm-0.26.0/docs/pages/api/fields.md +22 -0
- ferro_orm-0.26.0/docs/pages/api/migrations.md +116 -0
- ferro_orm-0.26.0/docs/pages/api/model.md +25 -0
- ferro_orm-0.26.0/docs/pages/api/queries.md +90 -0
- ferro_orm-0.26.0/docs/pages/api/raw-sql.md +13 -0
- ferro_orm-0.26.0/docs/pages/api/relationships.md +17 -0
- ferro_orm-0.26.0/docs/pages/api/transactions.md +11 -0
- ferro_orm-0.26.0/docs/pages/changelog.md +7 -0
- ferro_orm-0.26.0/docs/pages/concepts/architecture.md +222 -0
- ferro_orm-0.26.0/docs/pages/concepts/backends.md +105 -0
- ferro_orm-0.26.0/docs/pages/concepts/identity-map.md +169 -0
- ferro_orm-0.26.0/docs/pages/concepts/performance.md +162 -0
- ferro_orm-0.26.0/docs/pages/concepts/query-typing.md +152 -0
- ferro_orm-0.26.0/docs/pages/concepts/row-level-security.md +139 -0
- ferro_orm-0.26.0/docs/pages/concepts/type-safety.md +111 -0
- ferro_orm-0.26.0/docs/pages/contributing.md +7 -0
- ferro_orm-0.26.0/docs/pages/faq.md +161 -0
- ferro_orm-0.26.0/docs/pages/getting-started/installation.md +87 -0
- ferro_orm-0.26.0/docs/pages/getting-started/quickstart.md +153 -0
- ferro_orm-0.26.0/docs/pages/guide/aggregations.md +396 -0
- ferro_orm-0.26.0/docs/pages/guide/connections.md +376 -0
- ferro_orm-0.26.0/docs/pages/guide/models-and-fields.md +403 -0
- ferro_orm-0.26.0/docs/pages/guide/mutations.md +768 -0
- ferro_orm-0.26.0/docs/pages/guide/queries.md +1859 -0
- ferro_orm-0.26.0/docs/pages/guide/raw-sql.md +170 -0
- ferro_orm-0.26.0/docs/pages/guide/relationships.md +594 -0
- ferro_orm-0.26.0/docs/pages/guide/row-level-security.md +348 -0
- ferro_orm-0.26.0/docs/pages/guide/schema/adopting-migrations.md +188 -0
- ferro_orm-0.26.0/docs/pages/guide/schema/alembic.md +182 -0
- ferro_orm-0.26.0/docs/pages/guide/schema/auto-migrate.md +242 -0
- ferro_orm-0.26.0/docs/pages/guide/schema/data-steps.md +345 -0
- ferro_orm-0.26.0/docs/pages/guide/schema/deploying.md +292 -0
- ferro_orm-0.26.0/docs/pages/guide/schema/migrations.md +437 -0
- ferro_orm-0.26.0/docs/pages/guide/schema/overview.md +83 -0
- ferro_orm-0.26.0/docs/pages/guide/schema/renames-and-retirements.md +186 -0
- ferro_orm-0.26.0/docs/pages/guide/schema/squash.md +184 -0
- ferro_orm-0.26.0/docs/pages/guide/schema/testing.md +90 -0
- ferro_orm-0.26.0/docs/pages/guide/transactions.md +112 -0
- ferro_orm-0.26.0/docs/pages/howto/migrate-from-sqlalchemy.md +234 -0
- ferro_orm-0.26.0/docs/pages/howto/multiple-databases.md +127 -0
- ferro_orm-0.26.0/docs/pages/howto/pagination.md +107 -0
- ferro_orm-0.26.0/docs/pages/howto/soft-deletes.md +82 -0
- ferro_orm-0.26.0/docs/pages/howto/testing.md +170 -0
- ferro_orm-0.26.0/docs/pages/howto/timestamps.md +72 -0
- ferro_orm-0.26.0/docs/pages/index.md +55 -0
- ferro_orm-0.26.0/docs/pages/reference/cli.md +388 -0
- ferro_orm-0.26.0/docs/pages/reference/configuration.md +154 -0
- ferro_orm-0.26.0/docs/pages/reference/migrations.md +152 -0
- ferro_orm-0.26.0/docs/pages/reference/row-level-security.md +213 -0
- ferro_orm-0.26.0/docs/pages/roadmap.md +117 -0
- ferro_orm-0.26.0/docs/pages/upgrading.md +703 -0
- ferro_orm-0.26.0/docs/pages/why-ferro.md +90 -0
- ferro_orm-0.26.0/docs/solutions/issues/docs-block-declaring-a-model.md +50 -0
- ferro_orm-0.26.0/docs/solutions/issues/pytest-examples-prefix-settings-need-quotes.md +35 -0
- ferro_orm-0.26.0/docs/solutions/patterns/cross-emitter-ddl-parity.md +168 -0
- ferro_orm-0.26.0/docs/solutions/patterns/docs-page-conventions.md +308 -0
- ferro_orm-0.26.0/docs/solutions/patterns/docstring-conventions.md +252 -0
- ferro_orm-0.26.0/pyproject.toml +152 -0
- ferro_orm-0.26.0/scripts/demo_queries.py +273 -0
- ferro_orm-0.26.0/src/backend.rs +1890 -0
- ferro_orm-0.26.0/src/codec.rs +533 -0
- ferro_orm-0.26.0/src/codec_plan.rs +628 -0
- ferro_orm-0.26.0/src/connection.rs +853 -0
- ferro_orm-0.26.0/src/ddl_exec.rs +1360 -0
- ferro_orm-0.26.0/src/errors.rs +1233 -0
- ferro_orm-0.26.0/src/ferro/__init__.py +641 -0
- ferro_orm-0.26.0/src/ferro/_annotation_utils.py +290 -0
- ferro_orm-0.26.0/src/ferro/_bind_payload.py +343 -0
- ferro_orm-0.26.0/src/ferro/_core.pyi +921 -0
- ferro_orm-0.26.0/src/ferro/_shadow_fk_types.py +131 -0
- ferro_orm-0.26.0/src/ferro/_sql_log.py +70 -0
- ferro_orm-0.26.0/src/ferro/base.py +367 -0
- ferro_orm-0.26.0/src/ferro/checks.py +650 -0
- ferro_orm-0.26.0/src/ferro/cli/__init__.py +205 -0
- ferro_orm-0.26.0/src/ferro/cli/migrate.py +1116 -0
- ferro_orm-0.26.0/src/ferro/cli/output.py +1269 -0
- ferro_orm-0.26.0/src/ferro/columns.py +879 -0
- ferro_orm-0.26.0/src/ferro/composite_indexes.py +176 -0
- ferro_orm-0.26.0/src/ferro/composite_uniques.py +136 -0
- ferro_orm-0.26.0/src/ferro/exceptions.py +167 -0
- ferro_orm-0.26.0/src/ferro/fields.py +739 -0
- ferro_orm-0.26.0/src/ferro/ir/compiler.py +706 -0
- ferro_orm-0.26.0/src/ferro/metaclass.py +939 -0
- ferro_orm-0.26.0/src/ferro/migrations/__init__.py +76 -0
- ferro_orm-0.26.0/src/ferro/migrations/_baseline.py +289 -0
- ferro_orm-0.26.0/src/ferro/migrations/_chunk_loop.py +354 -0
- ferro_orm-0.26.0/src/ferro/migrations/_drift.py +504 -0
- ferro_orm-0.26.0/src/ferro/migrations/alembic.py +763 -0
- ferro_orm-0.26.0/src/ferro/migrations/context.py +231 -0
- ferro_orm-0.26.0/src/ferro/migrations/errors.py +113 -0
- ferro_orm-0.26.0/src/ferro/migrations/generate.py +1329 -0
- ferro_orm-0.26.0/src/ferro/migrations/historical.py +362 -0
- ferro_orm-0.26.0/src/ferro/migrations/layout.py +488 -0
- ferro_orm-0.26.0/src/ferro/migrations/report.py +656 -0
- ferro_orm-0.26.0/src/ferro/migrations/rerecord.py +176 -0
- ferro_orm-0.26.0/src/ferro/migrations/runner.py +1639 -0
- ferro_orm-0.26.0/src/ferro/migrations/scaffold.py +507 -0
- ferro_orm-0.26.0/src/ferro/migrations/steps.py +697 -0
- ferro_orm-0.26.0/src/ferro/migrations/target.py +171 -0
- ferro_orm-0.26.0/src/ferro/migrations/testing.py +528 -0
- ferro_orm-0.26.0/src/ferro/migrations/translate.py +479 -0
- ferro_orm-0.26.0/src/ferro/models.py +1199 -0
- ferro_orm-0.26.0/src/ferro/pass_report.py +164 -0
- ferro_orm-0.26.0/src/ferro/query/__init__.py +40 -0
- ferro_orm-0.26.0/src/ferro/query/builder.py +2183 -0
- ferro_orm-0.26.0/src/ferro/query/nodes.py +1675 -0
- ferro_orm-0.26.0/src/ferro/query/rendered.py +231 -0
- ferro_orm-0.26.0/src/ferro/query/rows.py +88 -0
- ferro_orm-0.26.0/src/ferro/query/wire.py +1261 -0
- ferro_orm-0.26.0/src/ferro/raw.py +319 -0
- ferro_orm-0.26.0/src/ferro/registry.py +596 -0
- ferro_orm-0.26.0/src/ferro/relations/__init__.py +235 -0
- ferro_orm-0.26.0/src/ferro/relations/descriptors.py +120 -0
- ferro_orm-0.26.0/src/ferro/rowsecurity.py +474 -0
- ferro_orm-0.26.0/src/ferro/session.py +431 -0
- ferro_orm-0.26.0/src/ferro/settings.py +1029 -0
- ferro_orm-0.26.0/src/ferro/state.py +246 -0
- ferro_orm-0.26.0/src/hydration.rs +449 -0
- ferro_orm-0.26.0/src/introspect.rs +1702 -0
- ferro_orm-0.26.0/src/lib.rs +243 -0
- ferro_orm-0.26.0/src/migrate.rs +1590 -0
- ferro_orm-0.26.0/src/migrations_ffi.rs +1689 -0
- ferro_orm-0.26.0/src/operations.rs +8970 -0
- ferro_orm-0.26.0/src/query.rs +2957 -0
- ferro_orm-0.26.0/src/run.rs +4172 -0
- ferro_orm-0.26.0/src/schema.rs +1012 -0
- ferro_orm-0.26.0/src/session_settings.rs +2307 -0
- ferro_orm-0.26.0/src/sql_log.rs +629 -0
- ferro_orm-0.26.0/src/state.rs +1370 -0
- ferro_orm-0.26.0/tests/_docs_checks.py +244 -0
- ferro_orm-0.26.0/tests/_docs_harness.py +520 -0
- ferro_orm-0.26.0/tests/_docs_shared.py +182 -0
- ferro_orm-0.26.0/tests/_docs_sql.py +669 -0
- ferro_orm-0.26.0/tests/_docs_twins.py +308 -0
- ferro_orm-0.26.0/tests/conftest.py +385 -0
- ferro_orm-0.26.0/tests/db_backends.py +175 -0
- ferro_orm-0.26.0/tests/fixtures/ir_vectors/README.md +67 -0
- ferro_orm-0.26.0/tests/fixtures/ir_vectors/schema_squash_witness_v3.json +102 -0
- ferro_orm-0.26.0/tests/static_fixtures/bad_predicates.py +46 -0
- ferro_orm-0.26.0/tests/static_fixtures/bad_updates.py +26 -0
- ferro_orm-0.26.0/tests/static_fixtures/good_predicates.py +88 -0
- ferro_orm-0.26.0/tests/static_fixtures/good_updates.py +26 -0
- ferro_orm-0.26.0/tests/test_aggregation.py +68 -0
- ferro_orm-0.26.0/tests/test_alembic_autogenerate.py +337 -0
- ferro_orm-0.26.0/tests/test_alembic_bridge.py +284 -0
- ferro_orm-0.26.0/tests/test_alembic_db_type.py +273 -0
- ferro_orm-0.26.0/tests/test_auto_migrate.py +4893 -0
- ferro_orm-0.26.0/tests/test_before_position.py +315 -0
- ferro_orm-0.26.0/tests/test_catalog_cache.py +236 -0
- ferro_orm-0.26.0/tests/test_check_predicate_dialect.py +352 -0
- ferro_orm-0.26.0/tests/test_chunked_steps.py +804 -0
- ferro_orm-0.26.0/tests/test_cli_database_line.py +344 -0
- ferro_orm-0.26.0/tests/test_cli_help.py +119 -0
- ferro_orm-0.26.0/tests/test_cli_output_new_check.py +870 -0
- ferro_orm-0.26.0/tests/test_cli_output_run_verbs.py +838 -0
- ferro_orm-0.26.0/tests/test_cli_output_status_drift.py +817 -0
- ferro_orm-0.26.0/tests/test_codec_plan.py +79 -0
- ferro_orm-0.26.0/tests/test_column_specs.py +210 -0
- ferro_orm-0.26.0/tests/test_compiled_query.py +134 -0
- ferro_orm-0.26.0/tests/test_composite_index.py +799 -0
- ferro_orm-0.26.0/tests/test_composite_unique.py +564 -0
- ferro_orm-0.26.0/tests/test_connect_guard.py +390 -0
- ferro_orm-0.26.0/tests/test_connection.py +591 -0
- ferro_orm-0.26.0/tests/test_constraints.py +81 -0
- ferro_orm-0.26.0/tests/test_cross_emitter_parity.py +2244 -0
- ferro_orm-0.26.0/tests/test_crud.py +192 -0
- ferro_orm-0.26.0/tests/test_db_backends.py +191 -0
- ferro_orm-0.26.0/tests/test_db_type_cross_emitter_parity.py +554 -0
- ferro_orm-0.26.0/tests/test_db_type_integration.py +382 -0
- ferro_orm-0.26.0/tests/test_db_type_validation.py +454 -0
- ferro_orm-0.26.0/tests/test_ddl_lock_timeout.py +624 -0
- ferro_orm-0.26.0/tests/test_deletion.py +87 -0
- ferro_orm-0.26.0/tests/test_docs_checks.py +238 -0
- ferro_orm-0.26.0/tests/test_docs_cli_reference.py +91 -0
- ferro_orm-0.26.0/tests/test_docs_examples.py +264 -0
- ferro_orm-0.26.0/tests/test_docs_field_type_table.py +221 -0
- ferro_orm-0.26.0/tests/test_docs_harness.py +99 -0
- ferro_orm-0.26.0/tests/test_docs_lint.py +46 -0
- ferro_orm-0.26.0/tests/test_docs_migrations.py +1506 -0
- ferro_orm-0.26.0/tests/test_docs_output.py +450 -0
- ferro_orm-0.26.0/tests/test_docs_shared.py +147 -0
- ferro_orm-0.26.0/tests/test_docs_site.py +944 -0
- ferro_orm-0.26.0/tests/test_docs_sql.py +405 -0
- ferro_orm-0.26.0/tests/test_docs_testing_fixtures.py +192 -0
- ferro_orm-0.26.0/tests/test_docs_twins.py +177 -0
- ferro_orm-0.26.0/tests/test_docstring_examples.py +253 -0
- ferro_orm-0.26.0/tests/test_documentation_features.py +88 -0
- ferro_orm-0.26.0/tests/test_enum_cold_hydration.py +65 -0
- ferro_orm-0.26.0/tests/test_exception_mapping.py +221 -0
- ferro_orm-0.26.0/tests/test_exceptions.py +124 -0
- ferro_orm-0.26.0/tests/test_field_wrapper.py +101 -0
- ferro_orm-0.26.0/tests/test_generate_renames.py +649 -0
- ferro_orm-0.26.0/tests/test_generation_counter_dirty_tracking.py +150 -0
- ferro_orm-0.26.0/tests/test_global_aggregates.py +384 -0
- ferro_orm-0.26.0/tests/test_grouped_aggregates.py +408 -0
- ferro_orm-0.26.0/tests/test_helpers.py +131 -0
- ferro_orm-0.26.0/tests/test_hydration.py +237 -0
- ferro_orm-0.26.0/tests/test_hydration_equivalence.py +271 -0
- ferro_orm-0.26.0/tests/test_identity_memory.py +80 -0
- ferro_orm-0.26.0/tests/test_identity_refresh.py +79 -0
- ferro_orm-0.26.0/tests/test_import_budget.py +35 -0
- ferro_orm-0.26.0/tests/test_include.py +831 -0
- ferro_orm-0.26.0/tests/test_ir_vectors_contract.py +810 -0
- ferro_orm-0.26.0/tests/test_label_addition.py +455 -0
- ferro_orm-0.26.0/tests/test_live_read.py +160 -0
- ferro_orm-0.26.0/tests/test_live_table_checks.py +78 -0
- ferro_orm-0.26.0/tests/test_metaclass_internals.py +386 -0
- ferro_orm-0.26.0/tests/test_metadata.py +74 -0
- ferro_orm-0.26.0/tests/test_migrate_baseline.py +634 -0
- ferro_orm-0.26.0/tests/test_migrate_defaults.py +439 -0
- ferro_orm-0.26.0/tests/test_migrate_drift.py +918 -0
- ferro_orm-0.26.0/tests/test_migrate_inherit.py +667 -0
- ferro_orm-0.26.0/tests/test_migrate_new.py +868 -0
- ferro_orm-0.26.0/tests/test_migrate_plan.py +1183 -0
- ferro_orm-0.26.0/tests/test_migrate_replace.py +573 -0
- ferro_orm-0.26.0/tests/test_migrate_rerecord.py +571 -0
- ferro_orm-0.26.0/tests/test_migrate_squash.py +1388 -0
- ferro_orm-0.26.0/tests/test_migrate_status.py +454 -0
- ferro_orm-0.26.0/tests/test_model_identity.py +228 -0
- ferro_orm-0.26.0/tests/test_mutation_pagination_guard.py +123 -0
- ferro_orm-0.26.0/tests/test_named_connections_integration.py +144 -0
- ferro_orm-0.26.0/tests/test_naming_single_source.py +332 -0
- ferro_orm-0.26.0/tests/test_negation.py +219 -0
- ferro_orm-0.26.0/tests/test_one_to_one.py +135 -0
- ferro_orm-0.26.0/tests/test_operation_seam_sync.py +271 -0
- ferro_orm-0.26.0/tests/test_order_by_nulls.py +224 -0
- ferro_orm-0.26.0/tests/test_order_by_nulls_wire.py +125 -0
- ferro_orm-0.26.0/tests/test_partial_selects.py +478 -0
- ferro_orm-0.26.0/tests/test_pass_report.py +201 -0
- ferro_orm-0.26.0/tests/test_provisional_import.py +232 -0
- ferro_orm-0.26.0/tests/test_query_column_validation.py +282 -0
- ferro_orm-0.26.0/tests/test_query_immutability.py +127 -0
- ferro_orm-0.26.0/tests/test_query_joins.py +1185 -0
- ferro_orm-0.26.0/tests/test_query_typing.py +215 -0
- ferro_orm-0.26.0/tests/test_query_wire_vectors.py +645 -0
- ferro_orm-0.26.0/tests/test_raw_sql.py +530 -0
- ferro_orm-0.26.0/tests/test_refresh.py +53 -0
- ferro_orm-0.26.0/tests/test_registry_entrypoints.py +291 -0
- ferro_orm-0.26.0/tests/test_rendered_statement.py +408 -0
- ferro_orm-0.26.0/tests/test_retired_labels.py +518 -0
- ferro_orm-0.26.0/tests/test_rls_end_to_end.py +424 -0
- ferro_orm-0.26.0/tests/test_routing_errors.py +103 -0
- ferro_orm-0.26.0/tests/test_row_security_alembic.py +1017 -0
- ferro_orm-0.26.0/tests/test_row_security_rebuild.py +784 -0
- ferro_orm-0.26.0/tests/test_run_lock.py +458 -0
- ferro_orm-0.26.0/tests/test_save_column_order.py +259 -0
- ferro_orm-0.26.0/tests/test_save_semantics.py +913 -0
- ferro_orm-0.26.0/tests/test_schema_constraints.py +273 -0
- ferro_orm-0.26.0/tests/test_schema_enum_annotations.py +27 -0
- ferro_orm-0.26.0/tests/test_secret_fields.py +338 -0
- ferro_orm-0.26.0/tests/test_session.py +549 -0
- ferro_orm-0.26.0/tests/test_shadow_fk_types.py +260 -0
- ferro_orm-0.26.0/tests/test_snapshot_witness.py +280 -0
- ferro_orm-0.26.0/tests/test_sqlite_alembic_reconnect_hydration.py +304 -0
- ferro_orm-0.26.0/tests/test_statement_log.py +1018 -0
- ferro_orm-0.26.0/tests/test_statement_log_run.py +120 -0
- ferro_orm-0.26.0/tests/test_static_contracts.py +362 -0
- ferro_orm-0.26.0/tests/test_step_class.py +490 -0
- ferro_orm-0.26.0/tests/test_string_search.py +52 -0
- ferro_orm-0.26.0/tests/test_structural_types.py +514 -0
- ferro_orm-0.26.0/tests/test_table_check_orphans.py +684 -0
- ferro_orm-0.26.0/tests/test_table_check_rebuild.py +801 -0
- ferro_orm-0.26.0/tests/test_table_check_reconcile.py +766 -0
- ferro_orm-0.26.0/tests/test_table_checks.py +638 -0
- ferro_orm-0.26.0/tests/test_temporal_types.py +71 -0
- ferro_orm-0.26.0/tests/test_transactions.py +502 -0
- ferro_orm-0.26.0/tests/test_traversed_projection.py +428 -0
- ferro_orm-0.26.0/tests/test_typed_null_binds.py +416 -0
- ferro_orm-0.26.0/tests/test_typed_save_bind.py +197 -0
- ferro_orm-0.26.0/uv.lock +2816 -0
- ferro_orm-0.26.0/zensical.toml +324 -0
- ferro_orm-0.24.0/.github/workflows/ci.yml +0 -314
- ferro_orm-0.24.0/.github/workflows/publish-docs.yml +0 -68
- ferro_orm-0.24.0/.pre-commit-config.yaml +0 -51
- ferro_orm-0.24.0/AGENTS.md +0 -561
- ferro_orm-0.24.0/CHANGELOG.md +0 -1715
- ferro_orm-0.24.0/CONTEXT.md +0 -432
- ferro_orm-0.24.0/CONTRIBUTING.md +0 -350
- ferro_orm-0.24.0/Cargo.lock +0 -2331
- ferro_orm-0.24.0/Cargo.toml +0 -50
- ferro_orm-0.24.0/PKG-INFO +0 -91
- ferro_orm-0.24.0/README.md +0 -73
- ferro_orm-0.24.0/crates/ferro-ddl-lowering/src/lib.rs +0 -8511
- ferro_orm-0.24.0/crates/ferro-migrate/src/directory.rs +0 -1743
- ferro_orm-0.24.0/crates/ferro-migrate/src/emit.rs +0 -889
- ferro_orm-0.24.0/crates/ferro-migrate/src/generate/mod.rs +0 -4783
- ferro_orm-0.24.0/crates/ferro-migrate/src/lib.rs +0 -804
- ferro_orm-0.24.0/crates/ferro-migrate/src/run_plan/step_class.rs +0 -1625
- ferro_orm-0.24.0/crates/ferro-migrate/src/run_plan.rs +0 -5576
- ferro_orm-0.24.0/crates/ferro-migrate/src/snapshot.rs +0 -343
- ferro_orm-0.24.0/crates/ferro-migrate/src/tests.rs +0 -6246
- ferro_orm-0.24.0/docs/adr/0002-unified-column-fact-derivation.md +0 -83
- ferro_orm-0.24.0/docs/adr/0006-relation-traversal-inner-joins.md +0 -42
- ferro_orm-0.24.0/docs/adr/0007-materialization-plan-complete-instances.md +0 -53
- ferro_orm-0.24.0/docs/adr/0008-populated-relations-include.md +0 -74
- ferro_orm-0.24.0/docs/adr/0009-aggregate-projections-derived-grouping.md +0 -70
- ferro_orm-0.24.0/docs/adr/0010-create-pass-owns-only-missing-tables.md +0 -41
- ferro_orm-0.24.0/docs/adr/0011-label-addition-update-gated-append-only.md +0 -67
- ferro_orm-0.24.0/docs/adr/0017-omitted-nulls-means-last.md +0 -26
- ferro_orm-0.24.0/docs/adr/0018-position-paging.md +0 -35
- ferro_orm-0.24.0/docs/adr/0023-schema-snapshots-outlive-ir-versions.md +0 -12
- ferro_orm-0.24.0/docs/adr/0028-python-sequences-a-run-rust-decides-and-executes.md +0 -20
- ferro_orm-0.24.0/docs/adr/0030-a-finished-step-is-re-recorded-an-unfinished-one-may-be-edited.md +0 -30
- ferro_orm-0.24.0/docs/adr/0031-a-baseline-is-verified-and-has-no-override.md +0 -42
- ferro_orm-0.24.0/docs/adr/0038-connect-never-runs-migration-files-and-a-tracked-database-refuses-auto-migrate.md +0 -74
- ferro_orm-0.24.0/docs/agents/domain.md +0 -51
- ferro_orm-0.24.0/docs/agents/issue-tracker.md +0 -45
- ferro_orm-0.24.0/docs/examples/_migrations_project.py +0 -141
- ferro_orm-0.24.0/docs/examples/aggregations.py +0 -259
- ferro_orm-0.24.0/docs/examples/aggregations_annotated.py +0 -52
- ferro_orm-0.24.0/docs/examples/existence_tests.py +0 -195
- ferro_orm-0.24.0/docs/examples/existence_tests_annotated.py +0 -101
- ferro_orm-0.24.0/docs/examples/migrations_adopting.py +0 -149
- ferro_orm-0.24.0/docs/examples/migrations_backfill.py +0 -78
- ferro_orm-0.24.0/docs/examples/migrations_backfill_annotated.py +0 -81
- ferro_orm-0.24.0/docs/examples/migrations_quickstart.py +0 -52
- ferro_orm-0.24.0/docs/examples/migrations_quickstart_annotated.py +0 -55
- ferro_orm-0.24.0/docs/examples/migrations_rename.py +0 -62
- ferro_orm-0.24.0/docs/examples/migrations_rename_annotated.py +0 -64
- ferro_orm-0.24.0/docs/examples/migrations_retire.py +0 -71
- ferro_orm-0.24.0/docs/examples/migrations_retire_annotated.py +0 -74
- ferro_orm-0.24.0/docs/examples/migrations_retire_label.py +0 -75
- ferro_orm-0.24.0/docs/examples/migrations_retire_label_annotated.py +0 -76
- ferro_orm-0.24.0/docs/examples/migrations_testing.py +0 -83
- ferro_orm-0.24.0/docs/examples/migrations_testing_annotated.py +0 -86
- ferro_orm-0.24.0/docs/examples/multiple_databases.py +0 -47
- ferro_orm-0.24.0/docs/examples/mutations.py +0 -149
- ferro_orm-0.24.0/docs/examples/pagination.py +0 -49
- ferro_orm-0.24.0/docs/examples/partial_selects.py +0 -194
- ferro_orm-0.24.0/docs/examples/partial_selects_annotated.py +0 -52
- ferro_orm-0.24.0/docs/examples/populated_relations.py +0 -201
- ferro_orm-0.24.0/docs/examples/populated_relations_annotated.py +0 -59
- ferro_orm-0.24.0/docs/examples/predicates.py +0 -236
- ferro_orm-0.24.0/docs/examples/predicates_annotated.py +0 -87
- ferro_orm-0.24.0/docs/examples/quickstart.py +0 -112
- ferro_orm-0.24.0/docs/examples/quickstart_annotated.py +0 -49
- ferro_orm-0.24.0/docs/examples/raw_sql.py +0 -45
- ferro_orm-0.24.0/docs/examples/relationships.py +0 -129
- ferro_orm-0.24.0/docs/examples/relationships_annotated.py +0 -109
- ferro_orm-0.24.0/docs/examples/row_level_security.py +0 -87
- ferro_orm-0.24.0/docs/examples/row_level_security_annotated.py +0 -78
- ferro_orm-0.24.0/docs/examples/soft_deletes.py +0 -62
- ferro_orm-0.24.0/docs/examples/soft_deletes_annotated.py +0 -59
- ferro_orm-0.24.0/docs/examples/table_checks.py +0 -45
- ferro_orm-0.24.0/docs/examples/table_checks_annotated.py +0 -42
- ferro_orm-0.24.0/docs/examples/testing_conftest.py +0 -34
- ferro_orm-0.24.0/docs/examples/timestamps.py +0 -54
- ferro_orm-0.24.0/docs/examples/timestamps_annotated.py +0 -51
- ferro_orm-0.24.0/docs/examples/transactions.py +0 -59
- ferro_orm-0.24.0/docs/examples/traversal.py +0 -336
- ferro_orm-0.24.0/docs/examples/traversal_annotated.py +0 -115
- ferro_orm-0.24.0/docs/pages/api/connection.md +0 -57
- ferro_orm-0.24.0/docs/pages/api/exceptions.md +0 -125
- ferro_orm-0.24.0/docs/pages/api/fields.md +0 -15
- ferro_orm-0.24.0/docs/pages/api/migrations.md +0 -91
- ferro_orm-0.24.0/docs/pages/api/model.md +0 -15
- ferro_orm-0.24.0/docs/pages/api/queries.md +0 -52
- ferro_orm-0.24.0/docs/pages/api/raw-sql.md +0 -9
- ferro_orm-0.24.0/docs/pages/api/relationships.md +0 -11
- ferro_orm-0.24.0/docs/pages/api/transactions.md +0 -7
- ferro_orm-0.24.0/docs/pages/changelog.md +0 -1
- ferro_orm-0.24.0/docs/pages/concepts/architecture.md +0 -243
- ferro_orm-0.24.0/docs/pages/concepts/backends.md +0 -107
- ferro_orm-0.24.0/docs/pages/concepts/identity-map.md +0 -227
- ferro_orm-0.24.0/docs/pages/concepts/performance.md +0 -108
- ferro_orm-0.24.0/docs/pages/concepts/query-typing.md +0 -153
- ferro_orm-0.24.0/docs/pages/concepts/type-safety.md +0 -110
- ferro_orm-0.24.0/docs/pages/contributing.md +0 -5
- ferro_orm-0.24.0/docs/pages/faq.md +0 -105
- ferro_orm-0.24.0/docs/pages/getting-started/installation.md +0 -78
- ferro_orm-0.24.0/docs/pages/getting-started/next-steps.md +0 -56
- ferro_orm-0.24.0/docs/pages/getting-started/quickstart.md +0 -103
- ferro_orm-0.24.0/docs/pages/guide/aggregations.md +0 -162
- ferro_orm-0.24.0/docs/pages/guide/connections.md +0 -225
- ferro_orm-0.24.0/docs/pages/guide/migrations.md +0 -40
- ferro_orm-0.24.0/docs/pages/guide/models-and-fields.md +0 -636
- ferro_orm-0.24.0/docs/pages/guide/mutations.md +0 -269
- ferro_orm-0.24.0/docs/pages/guide/queries.md +0 -876
- ferro_orm-0.24.0/docs/pages/guide/raw-sql.md +0 -109
- ferro_orm-0.24.0/docs/pages/guide/relationships.md +0 -254
- ferro_orm-0.24.0/docs/pages/guide/row-level-security.md +0 -736
- ferro_orm-0.24.0/docs/pages/guide/schema/alembic.md +0 -135
- ferro_orm-0.24.0/docs/pages/guide/schema/auto-migrate.md +0 -286
- ferro_orm-0.24.0/docs/pages/guide/schema/data-steps.md +0 -313
- ferro_orm-0.24.0/docs/pages/guide/schema/deploying.md +0 -265
- ferro_orm-0.24.0/docs/pages/guide/schema/migrations.md +0 -522
- ferro_orm-0.24.0/docs/pages/guide/schema/overview.md +0 -96
- ferro_orm-0.24.0/docs/pages/guide/schema/testing.md +0 -87
- ferro_orm-0.24.0/docs/pages/guide/transactions.md +0 -123
- ferro_orm-0.24.0/docs/pages/howto/adopting-migrations.md +0 -176
- ferro_orm-0.24.0/docs/pages/howto/migrate-from-sqlalchemy.md +0 -276
- ferro_orm-0.24.0/docs/pages/howto/multiple-databases.md +0 -73
- ferro_orm-0.24.0/docs/pages/howto/pagination.md +0 -122
- ferro_orm-0.24.0/docs/pages/howto/soft-deletes.md +0 -63
- ferro_orm-0.24.0/docs/pages/howto/testing.md +0 -177
- ferro_orm-0.24.0/docs/pages/howto/timestamps.md +0 -76
- ferro_orm-0.24.0/docs/pages/howto/upgrade-guide.md +0 -490
- ferro_orm-0.24.0/docs/pages/index.md +0 -12
- ferro_orm-0.24.0/docs/pages/reference/cli.md +0 -335
- ferro_orm-0.24.0/docs/pages/reference/configuration.md +0 -149
- ferro_orm-0.24.0/docs/pages/roadmap.md +0 -22
- ferro_orm-0.24.0/docs/pages/why-ferro.md +0 -81
- ferro_orm-0.24.0/docs/solutions/patterns/cross-emitter-ddl-parity.md +0 -164
- ferro_orm-0.24.0/pyproject.toml +0 -144
- ferro_orm-0.24.0/scripts/demo_queries.py +0 -271
- ferro_orm-0.24.0/src/backend.rs +0 -1793
- ferro_orm-0.24.0/src/codec.rs +0 -535
- ferro_orm-0.24.0/src/codec_plan.rs +0 -618
- ferro_orm-0.24.0/src/connection.rs +0 -844
- ferro_orm-0.24.0/src/ddl_exec.rs +0 -1368
- ferro_orm-0.24.0/src/errors.rs +0 -1233
- ferro_orm-0.24.0/src/ferro/__init__.py +0 -621
- ferro_orm-0.24.0/src/ferro/_annotation_utils.py +0 -290
- ferro_orm-0.24.0/src/ferro/_bind_payload.py +0 -245
- ferro_orm-0.24.0/src/ferro/_core.pyi +0 -805
- ferro_orm-0.24.0/src/ferro/_shadow_fk_types.py +0 -129
- ferro_orm-0.24.0/src/ferro/base.py +0 -335
- ferro_orm-0.24.0/src/ferro/checks.py +0 -609
- ferro_orm-0.24.0/src/ferro/cli/__init__.py +0 -161
- ferro_orm-0.24.0/src/ferro/cli/migrate.py +0 -1011
- ferro_orm-0.24.0/src/ferro/cli/output.py +0 -978
- ferro_orm-0.24.0/src/ferro/columns.py +0 -743
- ferro_orm-0.24.0/src/ferro/composite_indexes.py +0 -135
- ferro_orm-0.24.0/src/ferro/composite_uniques.py +0 -103
- ferro_orm-0.24.0/src/ferro/exceptions.py +0 -139
- ferro_orm-0.24.0/src/ferro/fields.py +0 -648
- ferro_orm-0.24.0/src/ferro/ir/compiler.py +0 -702
- ferro_orm-0.24.0/src/ferro/metaclass.py +0 -879
- ferro_orm-0.24.0/src/ferro/migrations/__init__.py +0 -76
- ferro_orm-0.24.0/src/ferro/migrations/_baseline.py +0 -241
- ferro_orm-0.24.0/src/ferro/migrations/_drift.py +0 -453
- ferro_orm-0.24.0/src/ferro/migrations/alembic.py +0 -737
- ferro_orm-0.24.0/src/ferro/migrations/chunked.py +0 -306
- ferro_orm-0.24.0/src/ferro/migrations/context.py +0 -179
- ferro_orm-0.24.0/src/ferro/migrations/errors.py +0 -111
- ferro_orm-0.24.0/src/ferro/migrations/generate.py +0 -567
- ferro_orm-0.24.0/src/ferro/migrations/historical.py +0 -346
- ferro_orm-0.24.0/src/ferro/migrations/layout.py +0 -339
- ferro_orm-0.24.0/src/ferro/migrations/report.py +0 -521
- ferro_orm-0.24.0/src/ferro/migrations/rerecord.py +0 -160
- ferro_orm-0.24.0/src/ferro/migrations/runner.py +0 -1344
- ferro_orm-0.24.0/src/ferro/migrations/scaffold.py +0 -486
- ferro_orm-0.24.0/src/ferro/migrations/steps.py +0 -535
- ferro_orm-0.24.0/src/ferro/migrations/target.py +0 -148
- ferro_orm-0.24.0/src/ferro/migrations/testing.py +0 -458
- ferro_orm-0.24.0/src/ferro/migrations/translate.py +0 -429
- ferro_orm-0.24.0/src/ferro/models.py +0 -955
- ferro_orm-0.24.0/src/ferro/pass_report.py +0 -151
- ferro_orm-0.24.0/src/ferro/query/__init__.py +0 -32
- ferro_orm-0.24.0/src/ferro/query/builder.py +0 -1977
- ferro_orm-0.24.0/src/ferro/query/nodes.py +0 -1442
- ferro_orm-0.24.0/src/ferro/query/rows.py +0 -90
- ferro_orm-0.24.0/src/ferro/query/wire.py +0 -1058
- ferro_orm-0.24.0/src/ferro/raw.py +0 -179
- ferro_orm-0.24.0/src/ferro/registry.py +0 -451
- ferro_orm-0.24.0/src/ferro/relations/__init__.py +0 -228
- ferro_orm-0.24.0/src/ferro/relations/descriptors.py +0 -98
- ferro_orm-0.24.0/src/ferro/rowsecurity.py +0 -412
- ferro_orm-0.24.0/src/ferro/session.py +0 -484
- ferro_orm-0.24.0/src/ferro/settings.py +0 -910
- ferro_orm-0.24.0/src/ferro/state.py +0 -198
- ferro_orm-0.24.0/src/hydration.rs +0 -439
- ferro_orm-0.24.0/src/introspect.rs +0 -1702
- ferro_orm-0.24.0/src/lib.rs +0 -238
- ferro_orm-0.24.0/src/migrate.rs +0 -1584
- ferro_orm-0.24.0/src/migrations_ffi.rs +0 -1441
- ferro_orm-0.24.0/src/operations.rs +0 -8129
- ferro_orm-0.24.0/src/query.rs +0 -2957
- ferro_orm-0.24.0/src/run.rs +0 -3884
- ferro_orm-0.24.0/src/schema.rs +0 -1010
- ferro_orm-0.24.0/src/session_settings.rs +0 -2299
- ferro_orm-0.24.0/src/state.rs +0 -1349
- ferro_orm-0.24.0/tests/conftest.py +0 -354
- ferro_orm-0.24.0/tests/db_backends.py +0 -169
- ferro_orm-0.24.0/tests/fixtures/ir_vectors/README.md +0 -60
- ferro_orm-0.24.0/tests/static_fixtures/bad_predicates.py +0 -45
- ferro_orm-0.24.0/tests/static_fixtures/good_predicates.py +0 -87
- ferro_orm-0.24.0/tests/test_aggregation.py +0 -74
- ferro_orm-0.24.0/tests/test_alembic_autogenerate.py +0 -332
- ferro_orm-0.24.0/tests/test_alembic_bridge.py +0 -279
- ferro_orm-0.24.0/tests/test_alembic_db_type.py +0 -271
- ferro_orm-0.24.0/tests/test_auto_migrate.py +0 -4868
- ferro_orm-0.24.0/tests/test_before_position.py +0 -311
- ferro_orm-0.24.0/tests/test_catalog_cache.py +0 -242
- ferro_orm-0.24.0/tests/test_check_predicate_dialect.py +0 -348
- ferro_orm-0.24.0/tests/test_chunked_steps.py +0 -804
- ferro_orm-0.24.0/tests/test_cli_database_line.py +0 -346
- ferro_orm-0.24.0/tests/test_cli_output_new_check.py +0 -793
- ferro_orm-0.24.0/tests/test_cli_output_run_verbs.py +0 -779
- ferro_orm-0.24.0/tests/test_cli_output_status_drift.py +0 -752
- ferro_orm-0.24.0/tests/test_codec_plan.py +0 -81
- ferro_orm-0.24.0/tests/test_column_specs.py +0 -205
- ferro_orm-0.24.0/tests/test_compiled_query.py +0 -81
- ferro_orm-0.24.0/tests/test_composite_index.py +0 -801
- ferro_orm-0.24.0/tests/test_composite_unique.py +0 -567
- ferro_orm-0.24.0/tests/test_connect_guard.py +0 -392
- ferro_orm-0.24.0/tests/test_connection.py +0 -588
- ferro_orm-0.24.0/tests/test_constraints.py +0 -82
- ferro_orm-0.24.0/tests/test_cross_emitter_parity.py +0 -2032
- ferro_orm-0.24.0/tests/test_crud.py +0 -200
- ferro_orm-0.24.0/tests/test_db_backends.py +0 -188
- ferro_orm-0.24.0/tests/test_db_type_cross_emitter_parity.py +0 -548
- ferro_orm-0.24.0/tests/test_db_type_integration.py +0 -384
- ferro_orm-0.24.0/tests/test_db_type_validation.py +0 -454
- ferro_orm-0.24.0/tests/test_ddl_lock_timeout.py +0 -643
- ferro_orm-0.24.0/tests/test_deletion.py +0 -90
- ferro_orm-0.24.0/tests/test_docs_examples.py +0 -87
- ferro_orm-0.24.0/tests/test_docs_migrations.py +0 -897
- ferro_orm-0.24.0/tests/test_documentation_features.py +0 -874
- ferro_orm-0.24.0/tests/test_enum_cold_hydration.py +0 -67
- ferro_orm-0.24.0/tests/test_exception_mapping.py +0 -225
- ferro_orm-0.24.0/tests/test_exceptions.py +0 -126
- ferro_orm-0.24.0/tests/test_field_wrapper.py +0 -106
- ferro_orm-0.24.0/tests/test_generate_renames.py +0 -618
- ferro_orm-0.24.0/tests/test_generation_counter_dirty_tracking.py +0 -144
- ferro_orm-0.24.0/tests/test_global_aggregates.py +0 -374
- ferro_orm-0.24.0/tests/test_grouped_aggregates.py +0 -406
- ferro_orm-0.24.0/tests/test_helpers.py +0 -136
- ferro_orm-0.24.0/tests/test_hydration.py +0 -243
- ferro_orm-0.24.0/tests/test_hydration_equivalence.py +0 -271
- ferro_orm-0.24.0/tests/test_identity_memory.py +0 -80
- ferro_orm-0.24.0/tests/test_identity_refresh.py +0 -79
- ferro_orm-0.24.0/tests/test_import_budget.py +0 -36
- ferro_orm-0.24.0/tests/test_include.py +0 -831
- ferro_orm-0.24.0/tests/test_ir_vectors_contract.py +0 -763
- ferro_orm-0.24.0/tests/test_label_addition.py +0 -455
- ferro_orm-0.24.0/tests/test_live_read.py +0 -162
- ferro_orm-0.24.0/tests/test_live_table_checks.py +0 -74
- ferro_orm-0.24.0/tests/test_metaclass_internals.py +0 -387
- ferro_orm-0.24.0/tests/test_metadata.py +0 -77
- ferro_orm-0.24.0/tests/test_migrate_baseline.py +0 -601
- ferro_orm-0.24.0/tests/test_migrate_defaults.py +0 -433
- ferro_orm-0.24.0/tests/test_migrate_drift.py +0 -916
- ferro_orm-0.24.0/tests/test_migrate_new.py +0 -791
- ferro_orm-0.24.0/tests/test_migrate_plan.py +0 -1152
- ferro_orm-0.24.0/tests/test_migrate_replace.py +0 -547
- ferro_orm-0.24.0/tests/test_migrate_rerecord.py +0 -571
- ferro_orm-0.24.0/tests/test_migrate_status.py +0 -448
- ferro_orm-0.24.0/tests/test_model_identity.py +0 -222
- ferro_orm-0.24.0/tests/test_mutation_pagination_guard.py +0 -109
- ferro_orm-0.24.0/tests/test_named_connections_integration.py +0 -144
- ferro_orm-0.24.0/tests/test_naming_single_source.py +0 -330
- ferro_orm-0.24.0/tests/test_negation.py +0 -226
- ferro_orm-0.24.0/tests/test_one_to_one.py +0 -136
- ferro_orm-0.24.0/tests/test_operation_seam_sync.py +0 -269
- ferro_orm-0.24.0/tests/test_order_by_nulls.py +0 -226
- ferro_orm-0.24.0/tests/test_order_by_nulls_wire.py +0 -127
- ferro_orm-0.24.0/tests/test_partial_selects.py +0 -472
- ferro_orm-0.24.0/tests/test_pass_report.py +0 -199
- ferro_orm-0.24.0/tests/test_provisional_import.py +0 -231
- ferro_orm-0.24.0/tests/test_query_column_validation.py +0 -286
- ferro_orm-0.24.0/tests/test_query_immutability.py +0 -127
- ferro_orm-0.24.0/tests/test_query_joins.py +0 -1186
- ferro_orm-0.24.0/tests/test_query_typing.py +0 -172
- ferro_orm-0.24.0/tests/test_query_wire_vectors.py +0 -636
- ferro_orm-0.24.0/tests/test_raw_sql.py +0 -528
- ferro_orm-0.24.0/tests/test_refresh.py +0 -55
- ferro_orm-0.24.0/tests/test_registry_entrypoints.py +0 -289
- ferro_orm-0.24.0/tests/test_retired_labels.py +0 -518
- ferro_orm-0.24.0/tests/test_rls_end_to_end.py +0 -426
- ferro_orm-0.24.0/tests/test_routing_errors.py +0 -64
- ferro_orm-0.24.0/tests/test_row_security_alembic.py +0 -1013
- ferro_orm-0.24.0/tests/test_row_security_rebuild.py +0 -786
- ferro_orm-0.24.0/tests/test_run_lock.py +0 -420
- ferro_orm-0.24.0/tests/test_save_semantics.py +0 -914
- ferro_orm-0.24.0/tests/test_schema_constraints.py +0 -275
- ferro_orm-0.24.0/tests/test_schema_enum_annotations.py +0 -25
- ferro_orm-0.24.0/tests/test_session.py +0 -551
- ferro_orm-0.24.0/tests/test_shadow_fk_types.py +0 -264
- ferro_orm-0.24.0/tests/test_sqlite_alembic_reconnect_hydration.py +0 -280
- ferro_orm-0.24.0/tests/test_static_contracts.py +0 -319
- ferro_orm-0.24.0/tests/test_step_class.py +0 -485
- ferro_orm-0.24.0/tests/test_string_search.py +0 -54
- ferro_orm-0.24.0/tests/test_structural_types.py +0 -525
- ferro_orm-0.24.0/tests/test_table_check_orphans.py +0 -678
- ferro_orm-0.24.0/tests/test_table_check_rebuild.py +0 -797
- ferro_orm-0.24.0/tests/test_table_check_reconcile.py +0 -735
- ferro_orm-0.24.0/tests/test_table_checks.py +0 -610
- ferro_orm-0.24.0/tests/test_temporal_types.py +0 -75
- ferro_orm-0.24.0/tests/test_transactions.py +0 -508
- ferro_orm-0.24.0/tests/test_traversed_projection.py +0 -427
- ferro_orm-0.24.0/tests/test_typed_null_binds.py +0 -422
- ferro_orm-0.24.0/tests/test_typed_save_bind.py +0 -196
- ferro_orm-0.24.0/uv.lock +0 -2805
- ferro_orm-0.24.0/zensical.toml +0 -160
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/.github/PERMISSIONS.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/.github/PYPI_CHECKLIST.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/.github/PYPI_SETUP.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/.github/generated/wheels.generated.yml +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/.github/pull_request_template.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/.github/workflows/packaging-smoke.yml +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/.github/workflows/publish.yml +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/.github/workflows/release.yml +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/.gitignore +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/.python-version +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/LICENSE +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/benchmarks/README.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/benchmarks/__init__.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/benchmarks/__main__.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/benchmarks/backends.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/benchmarks/baselines/postgres.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/benchmarks/baselines/sqlite.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/benchmarks/compare.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/benchmarks/harness.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/benchmarks/model.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/benchmarks/run.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/context7.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/crates/ferro-ddl-lowering/Cargo.toml +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/crates/ferro-ddl-lowering/src/policy_expr.rs +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/crates/ferro-migrate/Cargo.toml +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/crates/ferro-migrate/src/generate/backfill.rs +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/crates/ferro-migrate/src/generate/columns.rs +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/crates/ferro-migrate/src/generate/downs.rs +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/crates/ferro-migrate/src/generate/enums.rs +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/crates/ferro-migrate/src/generate/rebuild.rs +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/crates/ferro-migrate/src/generate/renames.rs +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/crates/ferro-migrate/src/generate/stages.rs +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/crates/ferro-migrate/src/generate/staging.rs +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/crates/ferro-migrate/src/order.rs +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/crates/ferro-migrate/src/plan.rs +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/crates/ferro-migrate/src/render.rs +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/crates/ferro-migrate/src/revision.rs +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/crates/ferro-migrate/src/revision_tests.rs +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/crates/ferro-schema-ir/Cargo.toml +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/crates/ferro-schema-ir/src/lib.rs +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0001-resolved-epoch-registration.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0003-path-blind-db-type-validation.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0004-jsonb-postgres-only-canonical.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0005-jsonb-default-on-postgres.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0007-reverse-relations-tested-not-traversed.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0008-predicate-negation-uniform-not.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0012-table-checks-are-lambdas.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0013-table-check-reconciliation.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0014-table-checks-sqlite-create-only.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0015-table-check-body-drift.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0016-check-predicates-literals-only.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0019-row-policy-drift-and-the-one-way-flags.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0020-enum-type-drop-on-downgrade.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0021-enum-type-reuse-on-upgrade.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0022-enum-type-creation-for-add-column.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0024-data-steps-are-atomic-or-chunked.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0025-historical-models-see-the-union-of-adjacent-snapshots.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0026-one-migration-renders-ddl-per-target-dialect.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0027-the-generator-diffs-the-ddl-bearing-projection-of-the-ir.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0029-the-run-lock-dies-with-the-process.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0032-renames-are-declared-on-the-model-and-recorded-in-the-snapshot.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0033-irreversibility-is-declared-and-a-down-reaches-the-parent-snapshot.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0034-sqlite-changes-alter-cannot-express-are-table-rebuilds.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0035-a-data-step-declares-its-shape-and-an-unwritten-one-is-a-todo.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0036-config-names-databases-not-connections.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0037-step-numbers-are-shared-across-dialects-and-a-skipped-backfill-is-a-guard.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0039-config-is-ferro-toml-or-pyproject-and-is-read-through-ferrosettings.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0040-a-migration-is-applied-whole-and-staging-is-the-editing-cadence.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0041-the-alembic-bridge-translates-the-one-planner.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0042-not-null-on-postgres-is-staged-after-the-backfill.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0043-foreign-keys-and-checks-on-an-existing-postgres-table-are-staged.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0044-indexes-on-an-existing-postgres-table-are-built-concurrently-and-ddl-waits-for-locks-under-a-timeout.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0045-the-test-harness-carries-the-targets-the-application-api-refuses.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0046-a-sqlite-table-rebuild-sits-in-its-phase-step-and-a-table-is-copied-once-per-phase.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0047-the-reconciliation-pass-honours-rename-hints.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0048-a-run-is-a-rust-object-holding-the-lock-the-directory-and-the-plan.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0049-the-auto-migrate-pass-reports-what-it-executed.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0050-a-plans-two-sides-are-adapters-and-a-down-is-the-ups-artifacts-planned-back.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0051-every-door-plans-a-redefined-index-and-a-removed-foreign-key.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0052-plan-reports-are-typed-and-the-generator-refuses-what-no-op-answers.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0053-a-column-is-retired-one-release-before-it-is-dropped.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0054-a-steps-class-is-recorded-when-it-is-applied.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/adr/0055-the-change-summary-crosses-ffi-as-data.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/agents/triage-labels.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/architecture-review-2026-07-08.html +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/brainstorms/2026-04-29-named-connections-role-routing-requirements.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/brainstorms/2026-05-08-typed-query-predicates-requirements.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/brainstorms/2026-05-13-configurable-column-storage-types-requirements.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/brainstorms/2026-05-14-autogenerate-support-for-db-type-requirements.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/brainstorms/2026-05-25-annotated-strenum-cold-hydration-requirements.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/brainstorms/2026-06-24-ir-p8-119-wire-automigrate-requirements.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/brainstorms/2026-06-25-ir-p8-120-parity-gate-requirements.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/brainstorms/2026-06-26-ir-p8.5-140-shared-lowering-requirements.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/brainstorms/2026-06-26-ir-p8.5-143-db-type-drop-requirements.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/brainstorms/2026-06-26-ir-p8.5-144-reconcile-indexes-requirements.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/brainstorms/2026-06-28-ir-p8.5-141-single-schema-ir-producer-requirements.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/brainstorms/2026-06-29-ir-p8.6-146-dialect-enum-unification-requirements.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/brainstorms/2026-06-29-ir-p8.6-153-create-path-ir-requirements.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/brainstorms/2026-06-30-ir-p8.6-155-deferred-annotations-requirements.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/brainstorms/2026-06-30-ir-p8.6-158-check-renderer-requirements.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/brainstorms/2026-07-01-ir-p8.6-154-datetime-tz-coarseness-requirements.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/brainstorms/2026-07-01-ir-p8.6-162-typed-save-bind-requirements.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/brainstorms/2026-07-01-ir-p8.6-165-blob-introspection-false-positive-requirements.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/brainstorms/2026-07-02-ff-c1-codec-plan-design.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/brainstorms/2026-07-06-upgrade-guide-consolidation-requirements.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/pages/stylesheets/extra.css +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-04-24-001-refactor-multi-db-backend-architecture-plan.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-04-29-001-typed-null-binds-plan.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-04-29-002-feat-named-connections-plan.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-05-07-001-refactor-generic-model-connection-plan.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-05-08-001-feat-typed-query-predicates-plan.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-05-13-001-feat-configurable-column-storage-types-plan.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-05-25-001-fix-annotated-strenum-cold-hydration-plan.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-06-19-001-ir-first-roadmap.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-06-24-001-feat-ir-p8-119-wire-automigrate-plan.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-06-25-001-feat-ir-p8-120-parity-gate-plan.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-06-26-001-feat-ir-p8.5-140-shared-lowering-plan.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-06-26-002-feat-ir-p8.5-143-db-type-drop-plan.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-06-26-003-feat-ir-p8.5-144-reconcile-indexes-plan.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-06-28-001-feat-ir-p8.5-141-single-schema-ir-producer-plan.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-06-29-001-refactor-ir-p8.6-153-create-path-unification-plan.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-06-29-002-refactor-ir-p8.6-146-dialect-enum-unification-plan.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-06-30-001-refactor-ir-p8.6-158-check-renderer-plan.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-06-30-002-fix-ir-p8.6-155-deferred-annotations-plan.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-07-01-001-feat-ir-p8.6-162-typed-save-bind-plan.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-07-01-002-fix-ir-p8.6-154-datetime-tz-coarseness-plan.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-07-01-003-fix-ir-p8.6-165-blob-introspection-plan.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-07-02-001-fable-fixes-roadmap.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-07-02-002-feat-ff-a-172-typed-exceptions-plan.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-07-02-003-ff-c-native-decode-design.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-07-02-004-ff-c-c2-catalog-cache-design.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-07-02-005-ff-d-identity-routing-design.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-07-02-006-ff-d-identity-routing-plan.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-07-03-007-ff-e-registry-identity-design.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-07-03-008-ff-e-registry-identity-plan.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-07-06-009-ff-f-query-builder-1.0-design.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-07-06-010-ff-f-query-builder-1.0-plan.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-07-06-011-ff-g-hardening-design.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-07-06-012-ff-g-hardening-plan.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-07-06-013-ff-g2-operations-dedup-design.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-07-06-014-ff-g2-operations-dedup-plan.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-07-06-015-docs-upgrade-guide-consolidation-plan.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/2026-07-18-016-existence-tests-design.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/ir-first-migration-guide.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/plans/ir-first-release-checklist.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/research/migration-cli-config-prior-art.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/research/migration-prior-art.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/research/sqlite-schema-change-recipes.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/research/sqlx-migrate-internals.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/rfc/ir-contracts-v1.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/README.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/architecture-patterns/ir-first-lowering-consolidation-audit.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/architecture-patterns/ir-first-merge-readiness-review.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/issues/alembic-add-column-enum-type-undefined.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/issues/alembic-create-table-reissues-enum-type.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/issues/n-ary-check-chain-reads-as-drift.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/issues/pg18-restrict-sqlstate-23001.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/issues/postgres-contention-was-a-guard-race.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/issues/pydantic-slots-missing-after-ferro-hydration.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/issues/python-3.14-deferred-annotation-typeerror-swallow.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/issues/query-ir-version-pin-sweep.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/issues/sa-pk-column-nullable-divergence.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/issues/sa-vs-rust-unique-constraint-shape.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/issues/self-fk-evicts-component-from-create-order.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/issues/sqlite-integer-decimal-hydrates-as-none.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/issues/sqlite-null-hydrates-as-int-zero.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/issues/test-module-cleanup-disarms-alembic-bridge.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/issues/typed-where-null-panics-is-null.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/patterns/configurable-column-storage-types.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/patterns/ddl-on-live-engine.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/patterns/derived-type-and-naming-decision-table.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/patterns/foreign-key-index.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/patterns/historical-models-and-the-registry-swap.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/patterns/index-unique-redundancy.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/patterns/ir-invariants.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/patterns/json-family-factory-migrate-backfill.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/patterns/one-planner-and-live-facts.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/patterns/persistence-state.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/patterns/position-paging-after.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/patterns/shadow-fk-columns.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/patterns/sqlite-alembic-reconnect-hydration-tests.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/patterns/typed-null-binds.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/docs/solutions/patterns/wire-scalar-canonicalization.md +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/justfile +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/scripts/demo_queries_pre_v012.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/src/ferro/_deprecations.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/src/ferro/cli/exit_codes.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/src/ferro/ir/__init__.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/src/ferro/py.typed +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/src/live_ir.rs +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/src/naming_ffi.rs +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/src/schema_bind.rs +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/__init__.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/_alembic_harness.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/_casebook.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/_pass_harness.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/_pg_sequence.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/fixtures/ir_vectors/codec_registry_core_v1.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/fixtures/ir_vectors/query_account_exists_v14.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/fixtures/ir_vectors/query_account_scoped_exists_v14.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/fixtures/ir_vectors/query_card_after_null_slot_v14.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/fixtures/ir_vectors/query_card_nulls_v14.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/fixtures/ir_vectors/query_owner_nested_exists_v14.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/fixtures/ir_vectors/query_owner_not_exists_v14.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/fixtures/ir_vectors/query_transaction_aggregate_v14.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/fixtures/ir_vectors/query_transaction_global_aggregate_v14.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/fixtures/ir_vectors/query_transaction_include_v14.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/fixtures/ir_vectors/query_transaction_left_join_v14.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/fixtures/ir_vectors/query_transaction_record_v14.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/fixtures/ir_vectors/query_transaction_traversal_v14.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/fixtures/ir_vectors/query_transaction_traversed_record_v14.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/fixtures/ir_vectors/query_user_add_columns_set_v14.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/fixtures/ir_vectors/query_user_add_literal_set_v14.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/fixtures/ir_vectors/query_user_after_v14.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/fixtures/ir_vectors/query_user_before_v14.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/fixtures/ir_vectors/query_user_compound_v14.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/fixtures/ir_vectors/query_user_literal_set_v14.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/fixtures/ir_vectors/query_user_m2m_exists_v14.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/fixtures/ir_vectors/query_user_merge_set_v14.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/fixtures/ir_vectors/query_user_mixed_set_v14.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/fixtures/ir_vectors/query_user_not_compound_v14.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/fixtures/ir_vectors/query_user_not_leaf_v14.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/fixtures/ir_vectors/query_user_now_set_v14.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/fixtures/ir_vectors/schema_invoice_baseline_v1.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/fixtures/ir_vectors/schema_phase1_fixture_models_v1.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/fixtures/ir_vectors/schema_raw_str_pk_autoincrement_v1.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/fixtures/ir_vectors/schema_rename_hints_v2.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/fixtures/ir_vectors/schema_retired_column_v2.json +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/static_fixtures/bad_includes.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/static_fixtures/bad_projections.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/static_fixtures/good_includes.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/static_fixtures/good_migrations_api.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/static_fixtures/good_projections.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_after_position.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_alembic_enum_type_drop.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_alembic_nullability.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_alembic_render_execute.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_alembic_translator.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_alembic_type_mapping.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_alembic_typing.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_annotation_utils.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_bulk_create_chunking.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_bulk_install.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_bulk_update.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_cli_init.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_connection_redaction.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_data_steps.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_db_type_typing.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_ddl_unprepared.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_deprecations.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_fk_target_pk.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_generate_backfill.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_generate_columns.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_generate_enum_removal.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_generate_enums.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_generate_indexes.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_generate_postgres_staging.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_generate_primary_key_refusal.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_generate_retired.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_generate_row_security.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_generate_sqlite_rebuild.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_historical_models.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_identity_scoped_invalidation.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_identity_weakref.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_isolated_imports.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_migrate_check.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_migrate_down.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_migrate_up.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_migrations_api.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_migrations_testing_harness.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_models.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_position_paging_traversal.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_postgres_isolation.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_primary_key_facts.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_query_builder.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_query_exists.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_registry_owner.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_registry_swap.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_relation_specs.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_relationship_engine.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_relationship_resolution_errors.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_retired_columns.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_route_single_site.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_row_security_create_pass.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_row_security_orphans.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_row_security_reconcile.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_save_pk_edges.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_schema.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_schema_db_type_metadata.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_session_set_config.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_session_settings.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_session_settings_connection_delivery.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_session_settings_operations.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_settings.py +0 -0
- {ferro_orm-0.24.0 → ferro_orm-0.26.0}/tests/test_update_recipe.py +0 -0
|
@@ -0,0 +1,363 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_call:
|
|
5
|
+
pull_request:
|
|
6
|
+
push:
|
|
7
|
+
branches: [main]
|
|
8
|
+
workflow_dispatch:
|
|
9
|
+
|
|
10
|
+
concurrency:
|
|
11
|
+
group: ci-${{ github.workflow }}-${{ github.ref }}
|
|
12
|
+
cancel-in-progress: true
|
|
13
|
+
|
|
14
|
+
permissions:
|
|
15
|
+
contents: read
|
|
16
|
+
|
|
17
|
+
jobs:
|
|
18
|
+
lint-and-format:
|
|
19
|
+
name: Lint & Format (Pre-commit / Prek)
|
|
20
|
+
runs-on: ubuntu-latest
|
|
21
|
+
steps:
|
|
22
|
+
- name: Checkout repository
|
|
23
|
+
uses: actions/checkout@v4
|
|
24
|
+
|
|
25
|
+
- name: Set up Python
|
|
26
|
+
uses: actions/setup-python@v5
|
|
27
|
+
with:
|
|
28
|
+
python-version: '3.13'
|
|
29
|
+
|
|
30
|
+
- name: Install UV
|
|
31
|
+
uses: astral-sh/setup-uv@v5
|
|
32
|
+
with:
|
|
33
|
+
enable-cache: true
|
|
34
|
+
|
|
35
|
+
- name: Set up Rust
|
|
36
|
+
uses: dtolnay/rust-toolchain@stable
|
|
37
|
+
with:
|
|
38
|
+
components: rustfmt, clippy
|
|
39
|
+
|
|
40
|
+
- name: Cache Rust build
|
|
41
|
+
uses: Swatinem/rust-cache@v2
|
|
42
|
+
with:
|
|
43
|
+
prefix-key: v1
|
|
44
|
+
cache-on-failure: true
|
|
45
|
+
|
|
46
|
+
- name: Cache pre-commit hook environments
|
|
47
|
+
uses: actions/cache@v4
|
|
48
|
+
with:
|
|
49
|
+
path: |
|
|
50
|
+
~/.cache/pre-commit
|
|
51
|
+
~/.cache/prek
|
|
52
|
+
key: precommit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }}
|
|
53
|
+
|
|
54
|
+
- name: Install dependencies
|
|
55
|
+
run: |
|
|
56
|
+
uv sync --only-group ci-lint --no-install-project --python 3.13
|
|
57
|
+
|
|
58
|
+
- name: Run all pre-commit hooks
|
|
59
|
+
run: |
|
|
60
|
+
uv run --no-sync --python 3.13 prek run --all-files
|
|
61
|
+
|
|
62
|
+
docs:
|
|
63
|
+
name: Docs build and docs tests
|
|
64
|
+
runs-on: ubuntu-latest
|
|
65
|
+
steps:
|
|
66
|
+
- name: Checkout repository
|
|
67
|
+
uses: actions/checkout@v4
|
|
68
|
+
|
|
69
|
+
- name: Set up Python
|
|
70
|
+
uses: actions/setup-python@v5
|
|
71
|
+
with:
|
|
72
|
+
python-version: '3.13'
|
|
73
|
+
|
|
74
|
+
- name: Install UV
|
|
75
|
+
uses: astral-sh/setup-uv@v5
|
|
76
|
+
with:
|
|
77
|
+
enable-cache: true
|
|
78
|
+
|
|
79
|
+
- name: Set up Rust
|
|
80
|
+
uses: dtolnay/rust-toolchain@stable
|
|
81
|
+
|
|
82
|
+
- name: Cache Rust build
|
|
83
|
+
uses: Swatinem/rust-cache@v2
|
|
84
|
+
with:
|
|
85
|
+
prefix-key: v1
|
|
86
|
+
cache-on-failure: true
|
|
87
|
+
|
|
88
|
+
- name: Install documentation and test dependencies
|
|
89
|
+
run: |
|
|
90
|
+
uv sync --only-group ci-test --only-group docs --no-install-project --python 3.13
|
|
91
|
+
|
|
92
|
+
- name: Build Rust extension
|
|
93
|
+
run: |
|
|
94
|
+
uv run maturin develop
|
|
95
|
+
|
|
96
|
+
- name: Build Zensical site
|
|
97
|
+
run: |
|
|
98
|
+
uv run --no-sync zensical build --clean --strict
|
|
99
|
+
|
|
100
|
+
- name: Run the docs lint
|
|
101
|
+
run: |
|
|
102
|
+
uv run --no-sync python -m tests._docs_checks docs/pages docs/examples src/ferro
|
|
103
|
+
|
|
104
|
+
- name: Run the docs tests
|
|
105
|
+
# Every docs test module is named test_doc*.py, which
|
|
106
|
+
# tests/test_docs_site.py pins, so a new one runs here unlisted.
|
|
107
|
+
run: |
|
|
108
|
+
uv run --no-sync pytest --no-cov -p no:cacheprovider tests/test_doc*.py
|
|
109
|
+
|
|
110
|
+
test-rust:
|
|
111
|
+
name: Rust tests
|
|
112
|
+
runs-on: ubuntu-latest
|
|
113
|
+
steps:
|
|
114
|
+
- name: Checkout repository
|
|
115
|
+
uses: actions/checkout@v4
|
|
116
|
+
|
|
117
|
+
- name: Set up Rust
|
|
118
|
+
uses: dtolnay/rust-toolchain@stable
|
|
119
|
+
|
|
120
|
+
- name: Set up Python
|
|
121
|
+
uses: actions/setup-python@v5
|
|
122
|
+
with:
|
|
123
|
+
python-version: "3.13"
|
|
124
|
+
|
|
125
|
+
- name: Cache Rust build
|
|
126
|
+
uses: Swatinem/rust-cache@v2
|
|
127
|
+
with:
|
|
128
|
+
prefix-key: v2
|
|
129
|
+
cache-on-failure: true
|
|
130
|
+
|
|
131
|
+
- name: Run Rust tests
|
|
132
|
+
env:
|
|
133
|
+
PYO3_PYTHON: ${{ env.pythonLocation }}/bin/python
|
|
134
|
+
run: |
|
|
135
|
+
# extension-module skips libpython linking; disable it for tests so the
|
|
136
|
+
# cargo test binary can resolve Python symbols against the installed runtime.
|
|
137
|
+
# The `testing` feature pulls in pyo3/auto-initialize so unit tests that
|
|
138
|
+
# call Python::attach start the interpreter automatically.
|
|
139
|
+
cargo test --no-default-features --features testing
|
|
140
|
+
|
|
141
|
+
test-python-pr:
|
|
142
|
+
name: Python tests (PR / 3.13)
|
|
143
|
+
runs-on: ubuntu-latest
|
|
144
|
+
if: github.event_name == 'pull_request'
|
|
145
|
+
steps:
|
|
146
|
+
- name: Checkout repository
|
|
147
|
+
uses: actions/checkout@v4
|
|
148
|
+
|
|
149
|
+
- name: Set up Python
|
|
150
|
+
uses: actions/setup-python@v5
|
|
151
|
+
with:
|
|
152
|
+
python-version: '3.13'
|
|
153
|
+
|
|
154
|
+
- name: Install UV
|
|
155
|
+
uses: astral-sh/setup-uv@v5
|
|
156
|
+
with:
|
|
157
|
+
enable-cache: true
|
|
158
|
+
|
|
159
|
+
- name: Set up Rust
|
|
160
|
+
uses: dtolnay/rust-toolchain@stable
|
|
161
|
+
|
|
162
|
+
- name: Cache Rust build
|
|
163
|
+
uses: Swatinem/rust-cache@v2
|
|
164
|
+
with:
|
|
165
|
+
prefix-key: v1
|
|
166
|
+
cache-on-failure: true
|
|
167
|
+
|
|
168
|
+
- name: Install dependencies
|
|
169
|
+
run: |
|
|
170
|
+
uv sync --only-group ci-test --only-group docs --no-install-project --python 3.13
|
|
171
|
+
|
|
172
|
+
- name: Build Rust extension
|
|
173
|
+
run: |
|
|
174
|
+
uv run maturin develop
|
|
175
|
+
|
|
176
|
+
- name: Static type gate (ty, scoped)
|
|
177
|
+
run: |
|
|
178
|
+
uv run ty check src/ferro/query tests/test_query_typing.py tests/test_static_contracts.py tests/test_alembic_typing.py
|
|
179
|
+
|
|
180
|
+
- name: Run IR vector contract harness
|
|
181
|
+
run: |
|
|
182
|
+
uv run pytest -v tests/test_ir_vectors_contract.py
|
|
183
|
+
|
|
184
|
+
- name: Run pytest
|
|
185
|
+
run: |
|
|
186
|
+
uv run pytest -v --cov=src --cov-report=xml --cov-report=term
|
|
187
|
+
|
|
188
|
+
test-python-main:
|
|
189
|
+
name: Python tests (main / ${{ matrix.python-version }})
|
|
190
|
+
runs-on: ubuntu-latest
|
|
191
|
+
if: github.event_name != 'pull_request'
|
|
192
|
+
strategy:
|
|
193
|
+
fail-fast: false
|
|
194
|
+
matrix:
|
|
195
|
+
python-version: ['3.13', '3.14']
|
|
196
|
+
steps:
|
|
197
|
+
- name: Checkout repository
|
|
198
|
+
uses: actions/checkout@v4
|
|
199
|
+
|
|
200
|
+
- name: Set up Python
|
|
201
|
+
uses: actions/setup-python@v5
|
|
202
|
+
with:
|
|
203
|
+
python-version: ${{ matrix.python-version }}
|
|
204
|
+
|
|
205
|
+
- name: Install UV
|
|
206
|
+
uses: astral-sh/setup-uv@v5
|
|
207
|
+
with:
|
|
208
|
+
enable-cache: true
|
|
209
|
+
|
|
210
|
+
- name: Set up Rust
|
|
211
|
+
uses: dtolnay/rust-toolchain@stable
|
|
212
|
+
|
|
213
|
+
- name: Cache Rust build
|
|
214
|
+
uses: Swatinem/rust-cache@v2
|
|
215
|
+
with:
|
|
216
|
+
prefix-key: v1
|
|
217
|
+
cache-on-failure: true
|
|
218
|
+
|
|
219
|
+
- name: Install dependencies
|
|
220
|
+
run: |
|
|
221
|
+
uv sync --only-group ci-test --only-group docs --no-install-project --python ${{ matrix.python-version }}
|
|
222
|
+
|
|
223
|
+
- name: Build Rust extension
|
|
224
|
+
run: |
|
|
225
|
+
uv run maturin develop
|
|
226
|
+
|
|
227
|
+
- name: Run IR vector contract harness
|
|
228
|
+
run: |
|
|
229
|
+
uv run pytest -v tests/test_ir_vectors_contract.py
|
|
230
|
+
|
|
231
|
+
- name: Run pytest
|
|
232
|
+
run: |
|
|
233
|
+
uv run pytest -v --cov=src --cov-report=xml --cov-report=term
|
|
234
|
+
|
|
235
|
+
- name: Upload coverage to Codecov
|
|
236
|
+
if: matrix.python-version == '3.13'
|
|
237
|
+
uses: codecov/codecov-action@v4
|
|
238
|
+
with:
|
|
239
|
+
file: ./coverage.xml
|
|
240
|
+
flags: python-${{ matrix.python-version }}
|
|
241
|
+
name: python-${{ matrix.python-version }}
|
|
242
|
+
continue-on-error: true
|
|
243
|
+
|
|
244
|
+
test-python-backend-matrix:
|
|
245
|
+
name: Python backend matrix (SQLite + Postgres)
|
|
246
|
+
runs-on: ubuntu-latest
|
|
247
|
+
services:
|
|
248
|
+
postgres:
|
|
249
|
+
image: postgres:17
|
|
250
|
+
env:
|
|
251
|
+
POSTGRES_USER: ferro
|
|
252
|
+
POSTGRES_PASSWORD: ferro
|
|
253
|
+
POSTGRES_DB: ferro
|
|
254
|
+
ports:
|
|
255
|
+
- 5432:5432
|
|
256
|
+
options: >-
|
|
257
|
+
--health-cmd "pg_isready -U ferro -d ferro"
|
|
258
|
+
--health-interval 10s
|
|
259
|
+
--health-timeout 5s
|
|
260
|
+
--health-retries 5
|
|
261
|
+
env:
|
|
262
|
+
FERRO_SUPABASE_URL: postgresql://ferro:ferro@127.0.0.1:5432/ferro?sslmode=disable
|
|
263
|
+
steps:
|
|
264
|
+
- name: Checkout repository
|
|
265
|
+
uses: actions/checkout@v4
|
|
266
|
+
|
|
267
|
+
- name: Set up Python
|
|
268
|
+
uses: actions/setup-python@v5
|
|
269
|
+
with:
|
|
270
|
+
python-version: '3.13'
|
|
271
|
+
|
|
272
|
+
- name: Install UV
|
|
273
|
+
uses: astral-sh/setup-uv@v5
|
|
274
|
+
with:
|
|
275
|
+
enable-cache: true
|
|
276
|
+
|
|
277
|
+
- name: Set up Rust
|
|
278
|
+
uses: dtolnay/rust-toolchain@stable
|
|
279
|
+
|
|
280
|
+
- name: Cache Rust build
|
|
281
|
+
uses: Swatinem/rust-cache@v2
|
|
282
|
+
with:
|
|
283
|
+
prefix-key: v1
|
|
284
|
+
cache-on-failure: true
|
|
285
|
+
|
|
286
|
+
- name: Install dependencies
|
|
287
|
+
run: |
|
|
288
|
+
uv sync --only-group ci-test --no-install-project --python 3.13
|
|
289
|
+
|
|
290
|
+
- name: Build Rust extension
|
|
291
|
+
run: |
|
|
292
|
+
uv run maturin develop
|
|
293
|
+
|
|
294
|
+
- name: Run backend matrix tests
|
|
295
|
+
run: |
|
|
296
|
+
uv run pytest -v -m "backend_matrix or postgres_only" --db-backends=sqlite,postgres
|
|
297
|
+
|
|
298
|
+
check-conventional-commits:
|
|
299
|
+
name: Check Conventional Commits
|
|
300
|
+
runs-on: ubuntu-latest
|
|
301
|
+
if: github.event_name == 'pull_request'
|
|
302
|
+
steps:
|
|
303
|
+
- name: Checkout repository
|
|
304
|
+
uses: actions/checkout@v4
|
|
305
|
+
with:
|
|
306
|
+
fetch-depth: 0
|
|
307
|
+
|
|
308
|
+
- name: Set up Python
|
|
309
|
+
uses: actions/setup-python@v5
|
|
310
|
+
with:
|
|
311
|
+
python-version: '3.13'
|
|
312
|
+
|
|
313
|
+
- name: Install UV
|
|
314
|
+
uses: astral-sh/setup-uv@v5
|
|
315
|
+
with:
|
|
316
|
+
enable-cache: true
|
|
317
|
+
|
|
318
|
+
- name: Install commitizen
|
|
319
|
+
run: |
|
|
320
|
+
uv tool install commitizen
|
|
321
|
+
|
|
322
|
+
- name: Check commit messages
|
|
323
|
+
shell: bash
|
|
324
|
+
run: |
|
|
325
|
+
git fetch origin main
|
|
326
|
+
COMMITS=$(git log origin/main..HEAD --pretty=format:"%H")
|
|
327
|
+
|
|
328
|
+
for commit in $COMMITS; do
|
|
329
|
+
MESSAGE=$(git log -1 --pretty=format:"%s" $commit)
|
|
330
|
+
|
|
331
|
+
if [[ "$MESSAGE" == Merge* ]]; then
|
|
332
|
+
echo "Skipping merge commit: $MESSAGE"
|
|
333
|
+
continue
|
|
334
|
+
fi
|
|
335
|
+
|
|
336
|
+
echo "Checking commit: $MESSAGE"
|
|
337
|
+
if ! uv run --no-sync --python 3.13 cz check --commit-msg-file <(git log -1 --pretty=format:"%s%n%n%b" $commit); then
|
|
338
|
+
echo "❌ Commit message does not follow conventional format: $MESSAGE"
|
|
339
|
+
exit 1
|
|
340
|
+
fi
|
|
341
|
+
done
|
|
342
|
+
|
|
343
|
+
echo "All commit messages follow conventional format"
|
|
344
|
+
|
|
345
|
+
all-checks:
|
|
346
|
+
name: All Checks Passed
|
|
347
|
+
needs: [lint-and-format, docs, test-python-pr, test-python-main, test-python-backend-matrix, test-rust]
|
|
348
|
+
runs-on: ubuntu-latest
|
|
349
|
+
if: always()
|
|
350
|
+
steps:
|
|
351
|
+
- name: Check all jobs
|
|
352
|
+
shell: bash
|
|
353
|
+
run: |
|
|
354
|
+
ok() { [[ "$1" == "success" || "$1" == "skipped" ]]; }
|
|
355
|
+
|
|
356
|
+
if ! ok "${{ needs.lint-and-format.result }}"; then exit 1; fi
|
|
357
|
+
if ! ok "${{ needs.test-python-pr.result }}"; then exit 1; fi
|
|
358
|
+
if ! ok "${{ needs.test-python-main.result }}"; then exit 1; fi
|
|
359
|
+
if ! ok "${{ needs.test-python-backend-matrix.result }}"; then exit 1; fi
|
|
360
|
+
if ! ok "${{ needs.test-rust.result }}"; then exit 1; fi
|
|
361
|
+
if ! ok "${{ needs.docs.result }}"; then exit 1; fi
|
|
362
|
+
|
|
363
|
+
echo "All checks passed!"
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
name: Publish Docs
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
workflow_call:
|
|
6
|
+
inputs:
|
|
7
|
+
ref:
|
|
8
|
+
description: Git ref (branch, tag, or SHA) to build docs from
|
|
9
|
+
required: true
|
|
10
|
+
type: string
|
|
11
|
+
|
|
12
|
+
concurrency:
|
|
13
|
+
group: docs-${{ github.workflow }}-${{ github.ref }}
|
|
14
|
+
cancel-in-progress: true
|
|
15
|
+
|
|
16
|
+
permissions:
|
|
17
|
+
contents: read
|
|
18
|
+
|
|
19
|
+
jobs:
|
|
20
|
+
build-docs:
|
|
21
|
+
name: Build docs (Zensical)
|
|
22
|
+
runs-on: ubuntu-latest
|
|
23
|
+
steps:
|
|
24
|
+
- name: Checkout repository
|
|
25
|
+
uses: actions/checkout@v4
|
|
26
|
+
with:
|
|
27
|
+
ref: ${{ inputs.ref }}
|
|
28
|
+
|
|
29
|
+
- name: Set up Python
|
|
30
|
+
uses: actions/setup-python@v5
|
|
31
|
+
with:
|
|
32
|
+
python-version: '3.13'
|
|
33
|
+
|
|
34
|
+
- name: Install UV
|
|
35
|
+
uses: astral-sh/setup-uv@v5
|
|
36
|
+
with:
|
|
37
|
+
enable-cache: true
|
|
38
|
+
|
|
39
|
+
- name: Install documentation dependencies
|
|
40
|
+
run: |
|
|
41
|
+
uv sync --only-group docs --no-install-project --python 3.13
|
|
42
|
+
|
|
43
|
+
- name: Build Zensical site
|
|
44
|
+
run: |
|
|
45
|
+
uv run --no-sync zensical build --clean --strict
|
|
46
|
+
|
|
47
|
+
- name: Upload Pages artifact
|
|
48
|
+
uses: actions/upload-pages-artifact@v3
|
|
49
|
+
with:
|
|
50
|
+
path: site
|
|
51
|
+
|
|
52
|
+
deploy-docs:
|
|
53
|
+
name: Deploy docs to GitHub Pages
|
|
54
|
+
needs: [build-docs]
|
|
55
|
+
runs-on: ubuntu-latest
|
|
56
|
+
permissions:
|
|
57
|
+
pages: write
|
|
58
|
+
id-token: write
|
|
59
|
+
environment:
|
|
60
|
+
name: github-pages
|
|
61
|
+
url: ${{ steps.deployment.outputs.page_url }}
|
|
62
|
+
steps:
|
|
63
|
+
- name: Configure Pages
|
|
64
|
+
uses: actions/configure-pages@v5
|
|
65
|
+
|
|
66
|
+
- name: Deploy Pages site
|
|
67
|
+
id: deployment
|
|
68
|
+
uses: actions/deploy-pages@v4
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# Pre-commit hooks configuration for Ferro
|
|
2
|
+
# Compatible with both pre-commit and Prek
|
|
3
|
+
#
|
|
4
|
+
# Every hook below runs at the pre-commit stage (and under
|
|
5
|
+
# `prek run --all-files`, which CI runs); commitizen alone runs at commit-msg.
|
|
6
|
+
default_stages: [pre-commit]
|
|
7
|
+
|
|
8
|
+
repos:
|
|
9
|
+
# General file checks
|
|
10
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
11
|
+
rev: v4.5.0
|
|
12
|
+
hooks:
|
|
13
|
+
- id: trailing-whitespace
|
|
14
|
+
- id: end-of-file-fixer
|
|
15
|
+
- id: check-yaml
|
|
16
|
+
- id: check-added-large-files
|
|
17
|
+
args: ['--maxkb=1000']
|
|
18
|
+
- id: check-json
|
|
19
|
+
- id: check-toml
|
|
20
|
+
- id: check-merge-conflict
|
|
21
|
+
- id: check-case-conflict
|
|
22
|
+
- id: mixed-line-ending
|
|
23
|
+
args: ['--fix=lf']
|
|
24
|
+
|
|
25
|
+
# Python formatting and linting with Ruff.
|
|
26
|
+
# Keep `rev` equal to the ruff version `uv.lock` records, so this hook and
|
|
27
|
+
# `uv run ruff` format and lint identically. Pinned here rather than run
|
|
28
|
+
# through the project environment because CI's lint job syncs only the
|
|
29
|
+
# `ci-lint` group (prek), and the pinned hook is cached on this file's hash.
|
|
30
|
+
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
31
|
+
rev: v0.15.1
|
|
32
|
+
hooks:
|
|
33
|
+
- id: ruff-check
|
|
34
|
+
args: [--fix, --exit-non-zero-on-fix]
|
|
35
|
+
- id: ruff-format
|
|
36
|
+
|
|
37
|
+
# Rust formatting
|
|
38
|
+
- repo: https://github.com/doublify/pre-commit-rust
|
|
39
|
+
rev: v1.0
|
|
40
|
+
hooks:
|
|
41
|
+
- id: fmt
|
|
42
|
+
# The whole workspace, tests included: the same command as
|
|
43
|
+
# `cargo clippy --workspace --all-targets -- -D warnings`.
|
|
44
|
+
- id: clippy
|
|
45
|
+
args: [--workspace, --all-targets, --, -D, warnings]
|
|
46
|
+
|
|
47
|
+
# Conventional commit enforcement
|
|
48
|
+
- repo: https://github.com/commitizen-tools/commitizen
|
|
49
|
+
rev: v3.13.0
|
|
50
|
+
hooks:
|
|
51
|
+
- id: commitizen
|
|
52
|
+
stages: [commit-msg]
|
|
53
|
+
|
|
54
|
+
# Python type checking (optional, can be enabled if needed)
|
|
55
|
+
# - repo: https://github.com/pre-commit/mirrors-mypy
|
|
56
|
+
# rev: v1.8.0
|
|
57
|
+
# hooks:
|
|
58
|
+
# - id: mypy
|
|
59
|
+
# additional_dependencies: [types-all]
|
|
60
|
+
# args: [--ignore-missing-imports]
|