sarj-python-lint 1.126.0__tar.gz → 1.130.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.
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/PKG-INFO +1 -1
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/pyproject.toml +1 -1
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_data_union_discriminator.py +71 -7
- sarj_python_lint-1.130.0/src/sarj_python_lint/rules/_generic_payload.py +34 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_custom_control_flow_exception.py +47 -45
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_discarded_tagged_outcome.py +187 -24
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_discriminated_model_union.py +40 -1
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/.gitignore +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/LICENSE +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/README.md +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/__init__.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/__main__.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/_analysis_session.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/_autofix.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/_autofix_aliases.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/_autofix_annotations.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/_autofix_comments.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/_autofix_declared_contracts.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/_autofix_declared_tests.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/_autofix_docs.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/_autofix_enums.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/_autofix_exhaustiveness.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/_autofix_inert.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/_autofix_parameters.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/_autofix_repeated.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/_autofix_security.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/_autofix_sql_projection.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/_autofix_tests.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/_closed_sql_literal.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/_file_context.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/_filesystem.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/_fixes.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/_parallel.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/_prepared_sources.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/_python_target.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/_ratchet_cli.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/_rule_descriptors.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/_secret_names.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/_source.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/_version.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/application_logging.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/autofix.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/benchmark.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/cast_access.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/interpreter_argv.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/json_boundary.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/py.typed +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/ratchet.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rule_base.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rule_metadata.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/__init__.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_annotation_origins.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_annotation_semantics.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_ast_index.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_ast_names.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_ast_position.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_async_lifecycle.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_binding_inventory.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_closed_helpers.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_comment_narration.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_comments.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_contract_annotation.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_copy_on_write.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_declared_contracts.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_dict_key_views.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_docstrings.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_exports.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_fastapi.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_fastapi_access.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_first_party.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_fixed_record.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_fixture_contracts.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_imports.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_inert_model_annotation.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_inherited_contract.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_local_alias_fix.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_local_source.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_logging.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_loguru.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_mapping_shape_callbacks.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_namespace_access.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_native_namespace_capability.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_native_object_contracts.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_nominal_project.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_numeric_proof.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_opaque_contracts.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_paths.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_postgres.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_project_index.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_prose_budget.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_pydantic_field_contract.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_pytest.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_pytest_contract_parameters.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_registry.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_resolved_operation_signature.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_resource_provenance.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_route_shapes.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_runtime_bindings.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_runtime_names.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_runtime_registry.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_service_http_callbacks.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_set_fields.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_sql.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_static_json_alias.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_store_sql.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_store_writes.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_suppression_comments.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_test_assertions.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_test_composition.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_test_provenance.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_transactional_sql.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/_type_guard_symbols.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/async_cleanup_registered_synchronously.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/async_executor_shutdown.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/async_mock_call_without_await_assertion.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/async_subprocess_cancellation_cleanup.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/cancel_owned_task_without_join.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/complex_postgres_query_requires_architecture_review.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/defect_xfail_requires_explicit_strict.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/delete_route_returns_no_content.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/docstring_args_restate_signature.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/docstring_returns_restate_signature.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/duplicate_adjacent_exception_handler.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/duplicate_closed_pure_helper.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/duplicate_pytest_fixture_params.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/excessive_commentary.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/failed_probe_zero_threshold.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/fakes_in_shared_location.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/fastapi_class_router_contract.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/fastapi_explicit_openapi_contract.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/fastapi_route_declares_security.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/iac_source_coupled_test.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/invalid_pydantic_field_default.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/mock_without_spec.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/named_record_at_boundaries.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/nan_hidden_by_builtin_min.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/negative_only_http_status_assertion.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_analytical_aggregation_in_postgres_store.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_any_mapping_types.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_async_client_in_constructor.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_async_function_cache.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_before_validator_input_mutation.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_blanket_suppression.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_broad_keyword_capture.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_comment_cruft.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_conflicting_pydantic_alias_validation.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_conftest_test_module_import.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_contradictory_type_guard.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_copied_inherited_docstring.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_cors_wildcard_with_credentials.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_create_verb_in_post_path.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_database_programmability.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_defaulted_environment_setting.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_delete_statement.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_discarded_validation_result.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_dual_shape_model_field_reader.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_dunder_all.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_duplicate_dunder_all_entry.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_duplicate_field_validator_body.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_dynamic_builtins.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_exception_text_in_500_detail.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_excessive_cognitive_complexity.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_fastapi_on_event.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_file_level_escape_hatch_suppression.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_first_party_private_import.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_fixed_sleep_before_assert.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_fixed_sleep_in_loop.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_folded_bad_request_not_found.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_frozen_after_validator_field_write.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_generic_json_parser.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_generic_single_export_module.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_hasattr.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_hidden_constructor_fallback.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_impossible_pydantic_field_bounds.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_injected_module_loader.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_input_model_mutation.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_interpreter_source_arguments.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_invalid_argument_name_suppression.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_invalid_pydantic_bypass.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_invalid_pydantic_validator_return.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_loguru_exc_info.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_loguru_printf_format.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_mocked_pydantic_value_object.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_mutating_container_transform.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_mutating_input_with_result.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_nested_pydantic_field_validator.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_nullable_dependency_fallback.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_offset_pagination.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_partial_type_is.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_positional_psycopg_row_escape.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_psycopg_execution_in_loop.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_psycopg_execution_outside_injected_owner.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_random_uuid_in_sql.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_raw_connection_in_tests.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_raw_source_text_test_oracle.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_recording_store.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_redundant_attribute_unpacking.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_redundant_literal_description.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_redundant_local_alias.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_redundant_module_alias_exports.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_redundant_sql_alias.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_repeated_string_literal.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_repeated_test_body.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_restated_comment.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_secret_in_log.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_select_star.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_service_behavior_in_settings.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_shallow_container_type_guard.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_shallow_record_type_guard.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_shared_mutable_default.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_slash_collection_root_under_prefix.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_string_concat_in_loop.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_swallowed_asyncio_cancellation.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_sys_path_mutation.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_tautological_expect.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_test_comments.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_test_method_grafting.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_typed_doc_sections.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_unique_violation_message_match.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_unknown_pydantic_validator_field.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_unnecessary_docstring.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_unused_copy_result.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_unused_underscored_keyword_parameter.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_unused_value_marker.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_vague_suppression_description.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_whole_request_response_payload_in_log.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/no_work_verb_get_route.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/opaque_parametrize_case_needs_id.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/over_mocked_test.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/phase_label_comment.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_application_model_joins.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_autospec_for_callable_mock.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_bulk_upsert.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_class_row.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_collection_comprehension.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_configured_cloud_scope.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_constant_time_secret_compare.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_coordinated_state_owner.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_declarative_batch_validation.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_direct_import_module.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_fstring_over_concat.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_grouped_settings.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_immutable_module_constant.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_injected_dependency_over_monkeypatch.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_injected_service.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_library_fake.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_match_assert_never.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_match_exception_dispatch.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_match_type_dispatch.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_match_value_dispatch.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_module_level_constant.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_monkeypatch_for_process_state_in_test.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_monotonic_for_elapsed_time.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_namedtuple_over_tuple_return.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_native_string_check.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_nominal_id_types.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_non_nullable_collection.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_optional_composite.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_or_pattern.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_precise_object_contract.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_psycopg_executemany.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_pydantic_json_value.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_pydantic_model_assertion.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_pytest_dependency_fixtures.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_pytest_fixture_contract.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_pytest_fixture_injection.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_regex_fullmatch.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_required_constructor_parameters.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_runtime_validation.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_self_documenting_constant.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_self_type_annotation.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_set_isdisjoint.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_single_psycopg_cursor.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_str_enum.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_struct_over_namedtuple.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_typed_cli.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_typed_mapping_get.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_typed_settings_field.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_validated_uuid_comparison.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_walrus_awaited_none_guard.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_walrus_comprehension_filter.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_walrus_regex_match.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/prefer_walrus_stream_loop.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/production_derived_test_cases.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/pytest_fixture_returns_bare_tuple.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/pytest_fixture_returns_closed_resource.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/redundant_class_docstring.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/redundant_docstring.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/redundant_module_docstring.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/redundant_test_constructor_forwarder.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/repeated_kwarg_heavy_call_in_test.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/repeated_static_call_cases.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/repeated_test_composition.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/repeated_unimplemented_test_contract.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/require_constrained_api_integer.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/require_exp_on_jwt_decode.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/require_explicit_contract_implementation.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/require_explicit_psycopg_transaction.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/require_explicit_service_contract.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/require_injectable_retry_sleep.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/require_keyword_only_swap_prone_params.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/require_nodecode_for_splitting_settings_field.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/require_port_for_service.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/require_precise_factory_signature.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/require_public_dependency_contract.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/require_pydantic_for_external_json.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/require_pydantic_for_mapping_shape.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/require_pydantic_for_structured_payload.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/require_pydantic_ordinal_lower_bound.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/restated_test_docstring.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/service_singleton_delegates_to_bulk.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/shared_mutable_pydantic_factory.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/stepdown.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/store_field_update_reuses_upsert.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/store_get_delegates_to_bulk_read.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/store_insert_requires_explicit_conflict_policy.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/store_insert_requires_on_conflict.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/store_mutation_command_fanout.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/subprocess_kill_without_reap.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/test_without_explicit_oracle.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/timestamp_order_requires_tiebreaker.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/trailing_value_narration.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/typed_error_reasons.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/uncontrolled_randomness_in_test.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/unused_mock_setup.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/rules/unused_test_factory_option.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/sql_literals.py +0 -0
- {sarj_python_lint-1.126.0 → sarj_python_lint-1.130.0}/src/sarj_python_lint/suppression_policy.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: sarj-python-lint
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.130.0
|
|
4
4
|
Summary: Custom Python lint rules — AST-based, pre-commit-friendly, hypermodern defaults
|
|
5
5
|
Project-URL: Homepage, https://code-standards.sarj.ai/rules/python/
|
|
6
6
|
Project-URL: Documentation, https://code-standards.sarj.ai/rules/python/
|
|
@@ -5,6 +5,7 @@ from dataclasses import dataclass
|
|
|
5
5
|
from typing import TYPE_CHECKING, final
|
|
6
6
|
|
|
7
7
|
from sarj_python_lint.rule_base import Diagnostic, Severity
|
|
8
|
+
from sarj_python_lint.rules._generic_payload import plain_parameters, record_parameters, specialized, uses_parameters
|
|
8
9
|
from sarj_python_lint.rules._imports import TYPING_SOURCES
|
|
9
10
|
from sarj_python_lint.rules._pydantic_field_contract import MODEL_SOURCES, unique_members
|
|
10
11
|
from sarj_python_lint.rules._resource_provenance import ResourceProvenance
|
|
@@ -383,9 +384,14 @@ class _DataUnions:
|
|
|
383
384
|
for node in leaves:
|
|
384
385
|
if isinstance(node, ast.Constant) and node.value is None:
|
|
385
386
|
continue
|
|
386
|
-
if
|
|
387
|
+
head = node.value if isinstance(node, ast.Subscript) else node
|
|
388
|
+
if (
|
|
389
|
+
not isinstance(head, ast.Name)
|
|
390
|
+
or head.id not in self.classes
|
|
391
|
+
or not specialized(node, self.classes[head.id].type_params)
|
|
392
|
+
):
|
|
387
393
|
return None
|
|
388
|
-
variants.add(
|
|
394
|
+
variants.add(head.id)
|
|
389
395
|
return variants
|
|
390
396
|
|
|
391
397
|
def _leaves(self, expression: ast.expr) -> list[ast.expr] | None:
|
|
@@ -399,9 +405,10 @@ class _DataUnions:
|
|
|
399
405
|
if node is None:
|
|
400
406
|
return None
|
|
401
407
|
if isinstance(node, ast.Name) and node.id in self.aliases:
|
|
402
|
-
|
|
408
|
+
expansion = self._alias_expansion(node.id, item.aliases)
|
|
409
|
+
if expansion is None:
|
|
403
410
|
return None
|
|
404
|
-
pending.append(
|
|
411
|
+
pending.append(expansion)
|
|
405
412
|
else:
|
|
406
413
|
children = self._union_members(node)
|
|
407
414
|
if children is None:
|
|
@@ -410,6 +417,12 @@ class _DataUnions:
|
|
|
410
417
|
pending.extend(_Expansion(child, item.aliases) for child in children)
|
|
411
418
|
return None
|
|
412
419
|
|
|
420
|
+
def _alias_expansion(self, name: str, seen: frozenset[str]) -> _Expansion | None:
|
|
421
|
+
declaration = self.declarations[name]
|
|
422
|
+
if name in seen or (isinstance(declaration, ast.TypeAlias) and declaration.type_params):
|
|
423
|
+
return None
|
|
424
|
+
return _Expansion(self.aliases[name], seen | {name})
|
|
425
|
+
|
|
413
426
|
def _union_members(self, node: ast.expr) -> tuple[ast.expr, ...] | None:
|
|
414
427
|
if isinstance(node, ast.BinOp) and isinstance(node.op, ast.BitOr):
|
|
415
428
|
return node.left, node.right
|
|
@@ -445,6 +458,8 @@ class _DataUnions:
|
|
|
445
458
|
return uncertain
|
|
446
459
|
|
|
447
460
|
def _field_domain(self, field: ast.AnnAssign, *, required: bool) -> _Domain:
|
|
461
|
+
if _parameter_dependent_field(field, self.context):
|
|
462
|
+
return _Domain(opaque=True)
|
|
448
463
|
if _direct_initvar_field(field, self.context, self.provenance):
|
|
449
464
|
return _Domain()
|
|
450
465
|
node = field.annotation
|
|
@@ -621,6 +636,14 @@ def _class_annotation_shadowed(annotation: ast.expr, names: frozenset[str], cont
|
|
|
621
636
|
return True
|
|
622
637
|
|
|
623
638
|
|
|
639
|
+
def _parameter_dependent_field(field: ast.AnnAssign, context: PythonFileContext) -> bool:
|
|
640
|
+
owner = context.parents.get(field)
|
|
641
|
+
if not isinstance(owner, ast.ClassDef) or not owner.type_params:
|
|
642
|
+
return False
|
|
643
|
+
parameters = plain_parameters(owner.type_params)
|
|
644
|
+
return parameters is None or _class_annotation_shadowed(field.annotation, parameters, context)
|
|
645
|
+
|
|
646
|
+
|
|
624
647
|
def _class_annotation_children(
|
|
625
648
|
node: ast.expr, *, forward: bool, context: PythonFileContext
|
|
626
649
|
) -> list[tuple[ast.expr, bool]]:
|
|
@@ -634,7 +657,7 @@ def _class_annotation_children(
|
|
|
634
657
|
|
|
635
658
|
|
|
636
659
|
def _record_required(node: ast.ClassDef, context: PythonFileContext, provenance: ResourceProvenance) -> bool | None:
|
|
637
|
-
if node
|
|
660
|
+
if record_parameters(node) is None:
|
|
638
661
|
return None
|
|
639
662
|
if any(not _untouched(base, provenance) for base in node.bases):
|
|
640
663
|
return None
|
|
@@ -804,8 +827,13 @@ def _alias_value(
|
|
|
804
827
|
node: ast.stmt, context: PythonFileContext, provenance: ResourceProvenance | None = None
|
|
805
828
|
) -> ast.expr | None:
|
|
806
829
|
match node:
|
|
807
|
-
case ast.TypeAlias(
|
|
808
|
-
|
|
830
|
+
case ast.TypeAlias():
|
|
831
|
+
parameters = plain_parameters(node.type_params)
|
|
832
|
+
return (
|
|
833
|
+
node.value
|
|
834
|
+
if parameters is not None and _payload_parameters_only(node.value, parameters, context)
|
|
835
|
+
else None
|
|
836
|
+
)
|
|
809
837
|
case ast.AnnAssign(target=ast.Name(), annotation=annotation, value=value):
|
|
810
838
|
return (
|
|
811
839
|
value
|
|
@@ -819,6 +847,42 @@ def _alias_value(
|
|
|
819
847
|
return None
|
|
820
848
|
|
|
821
849
|
|
|
850
|
+
def _payload_parameters_only(expression: ast.expr, parameters: frozenset[str], context: PythonFileContext) -> bool:
|
|
851
|
+
if not parameters:
|
|
852
|
+
return True
|
|
853
|
+
pending = [expression]
|
|
854
|
+
for _ in range(_MAX_EXPANSION):
|
|
855
|
+
if not pending:
|
|
856
|
+
return True
|
|
857
|
+
node = pending.pop()
|
|
858
|
+
if isinstance(node, ast.Constant) and isinstance(node.value, str):
|
|
859
|
+
return False
|
|
860
|
+
if isinstance(node, ast.BinOp) and isinstance(node.op, ast.BitOr):
|
|
861
|
+
pending.extend((node.left, node.right))
|
|
862
|
+
elif isinstance(node, ast.Subscript):
|
|
863
|
+
children = _parameter_union_children(node, parameters, context)
|
|
864
|
+
if children is None:
|
|
865
|
+
return False
|
|
866
|
+
pending.extend(children)
|
|
867
|
+
elif uses_parameters(node, parameters):
|
|
868
|
+
return False
|
|
869
|
+
return False
|
|
870
|
+
|
|
871
|
+
|
|
872
|
+
def _parameter_union_children(
|
|
873
|
+
node: ast.Subscript, parameters: frozenset[str], context: PythonFileContext
|
|
874
|
+
) -> tuple[ast.expr, ...] | None:
|
|
875
|
+
if uses_parameters(node.value, parameters):
|
|
876
|
+
return None
|
|
877
|
+
symbol = context.module_imports.resolved_symbol(node.value, sources=TYPING_SOURCES)
|
|
878
|
+
members = _subscript_members(node)
|
|
879
|
+
if symbol in {"Union", "Optional"}:
|
|
880
|
+
return members
|
|
881
|
+
if symbol == "Annotated" and members:
|
|
882
|
+
return None if any(uses_parameters(member, parameters) for member in members[1:]) else members[:1]
|
|
883
|
+
return ()
|
|
884
|
+
|
|
885
|
+
|
|
822
886
|
def _string_expression(node: ast.expr) -> ast.expr | None:
|
|
823
887
|
if not isinstance(node, ast.Constant) or not isinstance(node.value, str):
|
|
824
888
|
return node
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
import ast
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def plain_parameters(parameters: list[ast.type_param]) -> frozenset[str] | None:
|
|
7
|
+
if any(
|
|
8
|
+
not isinstance(item, ast.TypeVar) or item.bound is not None or item.default_value is not None
|
|
9
|
+
for item in parameters
|
|
10
|
+
):
|
|
11
|
+
return None
|
|
12
|
+
return frozenset(item.name for item in parameters if isinstance(item, ast.TypeVar))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
def record_parameters(node: ast.ClassDef) -> frozenset[str] | None:
|
|
16
|
+
parameters = plain_parameters(node.type_params)
|
|
17
|
+
if parameters is None or any(uses_parameters(item, parameters) for item in (*node.bases, *node.decorator_list)):
|
|
18
|
+
return None
|
|
19
|
+
return parameters
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
def specialized(expression: ast.expr, parameters: list[ast.type_param]) -> bool:
|
|
23
|
+
if not parameters:
|
|
24
|
+
return not isinstance(expression, ast.Subscript)
|
|
25
|
+
if not isinstance(expression, ast.Subscript) or plain_parameters(parameters) is None:
|
|
26
|
+
return False
|
|
27
|
+
arguments = expression.slice.elts if isinstance(expression.slice, ast.Tuple) else [expression.slice]
|
|
28
|
+
return len(arguments) == len(parameters) and not any(isinstance(item, ast.Starred) for item in arguments)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
def uses_parameters(expression: ast.expr, parameters: frozenset[str]) -> bool:
|
|
32
|
+
return bool(parameters) and any(
|
|
33
|
+
isinstance(item, ast.Name) and item.id in parameters for item in ast.walk(expression)
|
|
34
|
+
)
|
|
@@ -54,6 +54,34 @@ _MAX_VALIDATOR_DEPTH = 32
|
|
|
54
54
|
_MAX_BASE_DEPTH = 8
|
|
55
55
|
_MAX_IMPORTED_MODULES = 32
|
|
56
56
|
_MAX_MESSAGE_DEPTH = 16
|
|
57
|
+
_RESULT_TYPES = """from typing import Annotated, Literal
|
|
58
|
+
from pydantic import BaseModel, Field
|
|
59
|
+
class Success[T](BaseModel):
|
|
60
|
+
kind: Literal['success'] = 'success'
|
|
61
|
+
value: T
|
|
62
|
+
class Error[E](BaseModel):
|
|
63
|
+
kind: Literal['error'] = 'error'
|
|
64
|
+
error: E
|
|
65
|
+
type Result[T, E] = Annotated[Success[T] | Error[E], Field(discriminator='kind')]
|
|
66
|
+
"""
|
|
67
|
+
_DENIED_SERVICE = """from typing import Literal, assert_never
|
|
68
|
+
from pydantic import BaseModel, TypeAdapter
|
|
69
|
+
from app.outcomes import Error, Result, Success
|
|
70
|
+
class Denied(BaseModel):
|
|
71
|
+
code: Literal['denied'] = 'denied'
|
|
72
|
+
name: str
|
|
73
|
+
def save(name: str, allowed: bool) -> Result[str, Denied]:
|
|
74
|
+
return Success[str](value=name) if allowed else Error[Denied](error=Denied(name=name))
|
|
75
|
+
def format_result(result: Result[str, Denied]) -> str:
|
|
76
|
+
if result.kind == 'success':
|
|
77
|
+
return result.value
|
|
78
|
+
if result.kind == 'error':
|
|
79
|
+
return f'Denied {result.error.name}'
|
|
80
|
+
assert_never(result)
|
|
81
|
+
codec = TypeAdapter[Result[str, Denied]](Result[str, Denied])
|
|
82
|
+
def decode_result(data: str) -> Result[str, Denied]:
|
|
83
|
+
return codec.validate_json(data, strict=True)
|
|
84
|
+
"""
|
|
57
85
|
|
|
58
86
|
|
|
59
87
|
@final
|
|
@@ -72,10 +100,12 @@ class NoCustomControlFlowException(Rule):
|
|
|
72
100
|
),
|
|
73
101
|
remediation=(
|
|
74
102
|
"Review direct raises of this exception. If the condition is an expected domain outcome, reuse an established Result[T, E] "
|
|
75
|
-
"or a generic union
|
|
103
|
+
"or a generic Success[T] | Error[E] union with a shared Literal discriminator, a stable domain error code and the handling context. "
|
|
76
104
|
"Update callers to handle, propagate or translate each relevant variant; use the native type checker's assert_never "
|
|
77
105
|
"for exhaustiveness. Extend an existing outcome union rather than wrapping it again. "
|
|
78
|
-
"
|
|
106
|
+
"For a serializable contract, wrap the successful payload too; avoid a raw scalar | Error union. "
|
|
107
|
+
"Use the project's established codec and validate incoming tags and payloads; Pydantic models with an Annotated "
|
|
108
|
+
"Field(discriminator=...) union and TypeAdapter are one option. Format the message at the consumer. Preserve true exceptional failures, "
|
|
79
109
|
"validation rejection, transport/framework protocols, cancellation, unwinding and useful cause context. "
|
|
80
110
|
"A class name or a raise does not prove the condition is expected."
|
|
81
111
|
),
|
|
@@ -89,6 +119,7 @@ class NoCustomControlFlowException(Rule):
|
|
|
89
119
|
"Raising a ValueError-derived marker from an import-proven Pydantic field/model validator or legacy validator preserves that rejection protocol. Direct synchronous module callbacks used only as Annotated validator metadata on plain direct BaseModel fields, and stable nonescaping direct nested helpers, also preserve rejection; lexical helper ownership is bounded to 32 levels. Unknown external bases and visible mutations or escapes of the class or a local base to registrations, callbacks or other value consumers abstain; HTTPException and other framework-required exception types remain valid.",
|
|
90
120
|
"Expectedness is not inferred from a name, message or prefix. Genuine exceptional markers may also match and require review rather than conversion. Cross-module callers and registrations, indirect raises, dynamically mutated namespaces and class aliases are not inferred. Only simple stable module assignment aliases and nongeneric annotation aliases consumed directly by model fields are followed. Explicit string annotations, custom model hooks, async/generator callbacks, escaped helpers and broader call graphs are not followed. Generic lexical resolution can miss a module marker shadowed only in a method's class namespace.",
|
|
91
121
|
"Tests, generated and vendor code are excluded. No automatic rewrite is safe: a result return must preserve failure handling and transaction/resource unwinding. SARJ435 separately reviews joined-string reason identities.",
|
|
122
|
+
"The examples illustrate an existing project Result abstraction; do not introduce another Result library or require these class/tag names. SARJ510 owns explicit data discriminators and SARJ548 reviews discarded tagged outcomes; the native type checker owns exhaustive handling. A tag alone cannot guarantee JSON support for arbitrary T/E: qualify the concrete payloads with their codec. Keep established wire discriminators, legitimate absence and independent outcomes. This warning does not mechanically ban scalar unions or require every function to return Result.",
|
|
92
123
|
),
|
|
93
124
|
examples=(
|
|
94
125
|
RuleExample(
|
|
@@ -151,15 +182,8 @@ class NoCustomControlFlowException(Rule):
|
|
|
151
182
|
title="A typed outcome retains the code and formatting context",
|
|
152
183
|
outcome=ExampleOutcome.NO_MATCH,
|
|
153
184
|
files=(
|
|
154
|
-
ExampleFile.python(
|
|
155
|
-
|
|
156
|
-
"from dataclasses import dataclass\nfrom typing import Literal\n"
|
|
157
|
-
"@dataclass(frozen=True)\nclass Denied:\n"
|
|
158
|
-
" name: str\n code: Literal['denied'] = 'denied'\n"
|
|
159
|
-
"def load(name: str, allowed: bool) -> str | Denied:\n"
|
|
160
|
-
" return name if allowed else Denied(name)\n"
|
|
161
|
-
"def format_error(error: Denied) -> str:\n return f'Denied {error.name}'\n",
|
|
162
|
-
),
|
|
185
|
+
ExampleFile.python("app/outcomes.py", _RESULT_TYPES),
|
|
186
|
+
ExampleFile.python("app/content.py", _DENIED_SERVICE.replace("def save(", "def load(")),
|
|
163
187
|
),
|
|
164
188
|
focus_path=PurePosixPath("app/content.py"),
|
|
165
189
|
expected_count=0,
|
|
@@ -186,26 +210,11 @@ class NoCustomControlFlowException(Rule):
|
|
|
186
210
|
RuleExample(
|
|
187
211
|
example_id="generic-success-failure-union",
|
|
188
212
|
scenario="imported-outcome",
|
|
189
|
-
title="An established generic union
|
|
213
|
+
title="An established tagged generic union supports explicit handling and JSON decoding",
|
|
190
214
|
outcome=ExampleOutcome.NO_MATCH,
|
|
191
215
|
files=(
|
|
192
|
-
ExampleFile.python(
|
|
193
|
-
|
|
194
|
-
"from dataclasses import dataclass\n"
|
|
195
|
-
"@dataclass(frozen=True)\nclass Success[T]:\n value: T\n"
|
|
196
|
-
"@dataclass(frozen=True)\nclass Failure[E]:\n error: E\n"
|
|
197
|
-
"type Result[T, E] = Success[T] | Failure[E]\n",
|
|
198
|
-
),
|
|
199
|
-
ExampleFile.python(
|
|
200
|
-
"app/service.py",
|
|
201
|
-
"from dataclasses import dataclass\nfrom typing import Literal\n"
|
|
202
|
-
"from app.outcomes import Failure, Result, Success\n"
|
|
203
|
-
"@dataclass(frozen=True)\nclass Denied:\n"
|
|
204
|
-
" name: str\n code: Literal['denied'] = 'denied'\n"
|
|
205
|
-
"def save(name: str, allowed: bool) -> Result[str, Denied]:\n"
|
|
206
|
-
" return Success(name) if allowed else Failure(Denied(name))\n"
|
|
207
|
-
"def format_error(error: Denied) -> str:\n return f'Denied {error.name}'\n",
|
|
208
|
-
),
|
|
216
|
+
ExampleFile.python("app/outcomes.py", _RESULT_TYPES),
|
|
217
|
+
ExampleFile.python("app/service.py", _DENIED_SERVICE),
|
|
209
218
|
),
|
|
210
219
|
focus_path=PurePosixPath("app/service.py"),
|
|
211
220
|
expected_count=0,
|
|
@@ -234,18 +243,11 @@ class NoCustomControlFlowException(Rule):
|
|
|
234
243
|
RuleExample(
|
|
235
244
|
example_id="direct-domain-outcome-union",
|
|
236
245
|
scenario="prepared-message",
|
|
237
|
-
title="
|
|
246
|
+
title="Both success and rejection carry a stable discriminator",
|
|
238
247
|
outcome=ExampleOutcome.NO_MATCH,
|
|
239
248
|
files=(
|
|
240
|
-
ExampleFile.python(
|
|
241
|
-
|
|
242
|
-
"from dataclasses import dataclass\nfrom typing import Literal\n"
|
|
243
|
-
"@dataclass(frozen=True)\nclass Denied:\n"
|
|
244
|
-
" name: str\n code: Literal['denied'] = 'denied'\n"
|
|
245
|
-
"def save(name: str, allowed: bool) -> str | Denied:\n"
|
|
246
|
-
" return name if allowed else Denied(name)\n"
|
|
247
|
-
"def format_error(error: Denied) -> str:\n return f'Denied {error.name}'\n",
|
|
248
|
-
),
|
|
249
|
+
ExampleFile.python("app/outcomes.py", _RESULT_TYPES),
|
|
250
|
+
ExampleFile.python("app/service.py", _DENIED_SERVICE),
|
|
249
251
|
),
|
|
250
252
|
focus_path=PurePosixPath("app/service.py"),
|
|
251
253
|
expected_count=0,
|
|
@@ -280,14 +282,14 @@ class NoCustomControlFlowException(Rule):
|
|
|
280
282
|
title="The error variant retains the identifier needed by its caller",
|
|
281
283
|
outcome=ExampleOutcome.NO_MATCH,
|
|
282
284
|
files=(
|
|
285
|
+
ExampleFile.python("app/outcomes.py", _RESULT_TYPES),
|
|
283
286
|
ExampleFile.python(
|
|
284
287
|
"app/service.py",
|
|
285
|
-
"
|
|
286
|
-
"
|
|
287
|
-
"
|
|
288
|
-
"
|
|
289
|
-
"
|
|
290
|
-
"def format_error(error: Missing) -> str:\n return f'Missing {error.record_id}'\n",
|
|
288
|
+
_DENIED_SERVICE.replace("Denied", "Missing")
|
|
289
|
+
.replace("denied", "missing")
|
|
290
|
+
.replace("name", "record_id")
|
|
291
|
+
.replace("allowed", "exists")
|
|
292
|
+
.replace("def save(", "def load("),
|
|
291
293
|
),
|
|
292
294
|
),
|
|
293
295
|
focus_path=PurePosixPath("app/service.py"),
|