Repository navigation
Drop the expected-path arguments of the protobuf tests - #7290
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
| Layer / File(s) | Summary |
|---|---|
Main Protobuf generation tests tests/main/conftest.py, tests/main/protobuf/conftest.py, tests/main/protobuf/test_main_protobuf.py, tests/main/protobuf/test_main_protobuf.refs, tests/data/expected/main/protobuf/main_protobuf/* |
Tests remove shared expected-path helpers and fixed expected-file comparisons. Snapshot references are updated, and expected generated output adds upper bounds to the unsigned wrapper fields and removes an unused import. |
Protobuf auto-detection tests tests/main/protobuf/test_auto_detection.py, tests/main/protobuf/test_auto_detection.refs |
Auto-detection assertions use named snapshots for generated output, runtime values, compiler results, descriptors, and inference imports. References identify outputs by case and input mode. |
Protobuf option preprocessing tests tests/main/protobuf/test_option_preprocessing.py, tests/main/protobuf/test_option_preprocessing.refs |
Tests validate generated models directly and provide unset payloads for TypedDict. Compiler outputs, descriptors, and generated outputs use named snapshots and reorganized references. |
Estimated code review effort: 3 (Moderate) | ~20 minutes
Change: Other
Merge Risk: 
Minimal · previous review a1eeb
-
This change reorganizes protobuf test expectations into named snapshots and does not alter generator behavior or shipped functionality. No actionable merge-blocking risk was found.
Pre-merge checks: 
4
-
Full details: Title check
-
Explanation
The title "Drop the expected-path arguments of the protobuf tests" matches the main change. The raw summary shows removal of EXPECTED_PROTOBUF_PATH, the assert_file_content fixture, and fixed expected-file path checks across the protobuf tests, with tests switching to named outputs and snapshots. The title is specific and does not describe anything absent from the changeset. The title does not mention the new snapshot-based reference files or the removed black-version directory selection, but it does not need to cover every detail.
-
Finishing Touches
-
Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Recent review info
-

Run configuration
-
- Source mode: Auto
- Repository: datamodel-code-generator/datamodel-code-generator
- Branch: drop-expected-paths-b7ca
- File: .coderabbit.yaml
- Commit: a1eebb4
- Layers: Repository YAML
- Review profile: CHILL
- Plan: Advanced
- Run ID:
5335b0b9-8250-4d5b-9826-d76c0fd1f379

Files ignored due to path filters: 24
-
docs/data/migration/unreleased/drop-expected-paths-b7c.toml is excluded by none and included by none
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_compiler_oracle[bom_comment].descriptor.txt is excluded by !tests/data/**/*.txt and included by none
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_compiler_oracle[bom_comment].protoc_exit.txt is excluded by !tests/data/**/*.txt and included by none
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_compiler_oracle[bom_edition_single].descriptor.txt is excluded by !tests/data/**/*.txt and included by none
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_compiler_oracle[default].descriptor.txt is excluded by !tests/data/**/*.txt and included by none
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_compiler_oracle[without_syntax].descriptor.txt is excluded by !tests/data/**/*.txt and included by none
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[cli-InputFileType.Auto-DataModelType.DataclassesDataclass-bom_comment].runtime.txt is excluded by !tests/data/**/*.txt and included by none
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_inference_imports[comments].txt is excluded by !tests/data/**/*.txt and included by none
tests/data/expected/main/protobuf/main_protobuf/nullvalue_enum_backends[api-False-DataModelType.DataclassesDataclass].enum_value.txt is excluded by !tests/data/**/*.txt and included by none
tests/data/expected/main/protobuf/main_protobuf/referenced_standard_definition_order[nullvalue].txt is excluded by !tests/data/**/*.txt and included by none
tests/data/expected/main/protobuf/main_protobuf/referenced_standard_definition_order[standard_enum].txt is excluded by !tests/data/**/*.txt and included by none
tests/data/expected/main/protobuf/main_protobuf/referenced_standard_definition_order[standard_message].txt is excluded by !tests/data/**/*.txt and included by none
tests/data/expected/main/protobuf/main_protobuf/referenced_standard_definition_order[unused_standard].txt is excluded by !tests/data/**/*.txt and included by none
tests/data/expected/main/protobuf/main_protobuf/referenced_standard_definition_order[user_namespace].txt is excluded by !tests/data/**/*.txt and included by none
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_compiler_oracle[comments].descriptor.txt is excluded by !tests/data/**/*.txt and included by none
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_compiler_oracle[custom].descriptor.txt is excluded by !tests/data/**/*.txt and included by none
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_compiler_oracle[double].descriptor.txt is excluded by !tests/data/**/*.txt and included by none
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_compiler_oracle[plain].descriptor.txt is excluded by !tests/data/**/*.txt and included by none
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_compiler_oracle[rpc].rpc_services.txt is excluded by !tests/data/**/*.txt and included by none
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.DataclassesDataclass-comments].txt is excluded by !tests/data/**/*.txt and included by none
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.DataclassesDataclass-custom].txt is excluded by !tests/data/**/*.txt and included by none
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.DataclassesDataclass-double].txt is excluded by !tests/data/**/*.txt and included by none
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.DataclassesDataclass-plain].txt is excluded by !tests/data/**/*.txt and included by none
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.MsgspecStruct-custom].txt is excluded by !tests/data/**/*.txt and included by none

Files selected for processing: 154
-
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[cli-InputFileType.Auto-DataModelType.DataclassesDataclass-bom_comment].py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[cli-InputFileType.Auto-DataModelType.DataclassesDataclass-bom_edition_single].py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[cli-InputFileType.Auto-DataModelType.DataclassesDataclass-default].py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[cli-InputFileType.Auto-DataModelType.MsgspecStruct-bom_comment].py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[cli-InputFileType.Auto-DataModelType.MsgspecStruct-bom_edition_single].py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[cli-InputFileType.Auto-DataModelType.MsgspecStruct-default].py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[cli-InputFileType.Auto-DataModelType.PydanticV2BaseModel-bom_comment].py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[cli-InputFileType.Auto-DataModelType.PydanticV2BaseModel-bom_edition_single].py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[cli-InputFileType.Auto-DataModelType.PydanticV2BaseModel-default].py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[cli-InputFileType.Auto-DataModelType.PydanticV2Dataclass-bom_comment].py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[cli-InputFileType.Auto-DataModelType.PydanticV2Dataclass-bom_edition_single].py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[cli-InputFileType.Auto-DataModelType.PydanticV2Dataclass-default].py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[cli-InputFileType.Auto-DataModelType.TypingTypedDict-bom_comment].py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[text-InputFileType.Auto-DataModelType.DataclassesDataclass-bom_comment].api.py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[text-InputFileType.Auto-DataModelType.DataclassesDataclass-bom_edition_single].api.py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[text-InputFileType.Auto-DataModelType.DataclassesDataclass-default].api.py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[text-InputFileType.Auto-DataModelType.MsgspecStruct-bom_comment].api.py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[text-InputFileType.Auto-DataModelType.MsgspecStruct-bom_edition_single].api.py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[text-InputFileType.Auto-DataModelType.MsgspecStruct-default].api.py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[text-InputFileType.Auto-DataModelType.PydanticV2BaseModel-bom_comment].api.py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[text-InputFileType.Auto-DataModelType.PydanticV2BaseModel-bom_edition_single].api.py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[text-InputFileType.Auto-DataModelType.PydanticV2BaseModel-default].api.py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[text-InputFileType.Auto-DataModelType.PydanticV2Dataclass-bom_comment].api.py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[text-InputFileType.Auto-DataModelType.PydanticV2Dataclass-bom_edition_single].api.py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[text-InputFileType.Auto-DataModelType.PydanticV2Dataclass-default].api.py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[text-InputFileType.Auto-DataModelType.TypingTypedDict-bom_comment].api.py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_other_formats[cli-InputFileType.Auto-csv].py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_other_formats[cli-InputFileType.Auto-csv_comment].py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_other_formats[cli-InputFileType.Auto-csv_header_suffix].py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_other_formats[cli-InputFileType.Auto-csv_leading].py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_other_formats[cli-InputFileType.Auto-jsonschema].py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_other_formats[cli-InputFileType.Auto-yaml].py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_other_formats[text-InputFileType.Auto-csv].api.py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_other_formats[text-InputFileType.Auto-csv_comment].api.py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_other_formats[text-InputFileType.Auto-csv_header_suffix].api.py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_other_formats[text-InputFileType.Auto-csv_leading].api.py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_other_formats[text-InputFileType.Auto-jsonschema].api.py
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_other_formats[text-InputFileType.Auto-yaml].api.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable/__init__.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_common_address.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_common_status.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_legacy_legacy_message.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_legacy_legacy_message_legacy_group.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_legacy_legacy_status.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_presence_presence.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_public_public_token.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_shop_v1_get_order_request.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_shop_v1_get_order_response.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_shop_v1_order.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_shop_v1_order_line_item.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_shop_v1_order_role.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_spec_edition_edition_bucket.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_spec_proto2_external_group.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_spec_proto2_proto2_request.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_spec_proto2_proto2_response.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_spec_proto2_proto2_state.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_spec_proto2_spec_proto2.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_spec_proto2_spec_proto2_legacy_group.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_spec_proto2_spec_proto2_proto2_child.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_spec_proto3_alias_state.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_spec_proto3_spec_proto3.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_spec_proto3_spec_proto3_nested.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_spec_proto3_spec_proto3_request.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_spec_proto3_spec_proto3_response.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_wkt_wrapper_bucket.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/__init__.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_common_address.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_common_status.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_legacy_legacy_message.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_legacy_legacy_message_legacy_group.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_legacy_legacy_status.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_presence_presence.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_public_public_token.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_shop_v1_get_order_request.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_shop_v1_get_order_response.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_shop_v1_order.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_shop_v1_order_line_item.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_shop_v1_order_role.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_spec_edition_edition_bucket.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_spec_proto2_external_group.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_spec_proto2_proto2_request.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_spec_proto2_proto2_response.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_spec_proto2_proto2_state.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_spec_proto2_spec_proto2.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_spec_proto2_spec_proto2_legacy_group.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_spec_proto2_spec_proto2_proto2_child.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_spec_proto3_alias_state.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_spec_proto3_spec_proto3.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_spec_proto3_spec_proto3_nested.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_spec_proto3_spec_proto3_request.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_spec_proto3_spec_proto3_response.py
tests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_wkt_wrapper_bucket.py
tests/data/expected/main/protobuf/main_protobuf/generate_api_protobuf_definition_key_collision.py
tests/data/expected/main/protobuf/main_protobuf/generate_api_protobuf_from_text.py
tests/data/expected/main/protobuf/main_protobuf/generate_api_protobuf_returns_code.py
tests/data/expected/main/protobuf/main_protobuf/nullvalue_enum_backends[api-False-DataModelType.DataclassesDataclass].py
tests/data/expected/main/protobuf/main_protobuf/nullvalue_enum_backends[api-False-DataModelType.MsgspecStruct].py
tests/data/expected/main/protobuf/main_protobuf/nullvalue_enum_backends[api-False-DataModelType.PydanticV2BaseModel].py
tests/data/expected/main/protobuf/main_protobuf/nullvalue_enum_backends[api-False-DataModelType.PydanticV2Dataclass].py
tests/data/expected/main/protobuf/main_protobuf/nullvalue_enum_backends[api-False-DataModelType.TypingTypedDict].py
tests/data/expected/main/protobuf/main_protobuf/protobuf_parser_renders_non_finite_defaults.py
tests/data/expected/main/protobuf/main_protobuf/referenced_standard_generation[api-False-nullvalue].py
tests/data/expected/main/protobuf/main_protobuf/referenced_standard_generation[api-False-standard_enum].py
tests/data/expected/main/protobuf/main_protobuf/referenced_standard_generation[api-False-standard_message].py
tests/data/expected/main/protobuf/main_protobuf/referenced_standard_generation[api-False-unused_standard].py
tests/data/expected/main/protobuf/main_protobuf/referenced_standard_generation[api-False-user_namespace].py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.DataclassesDataclass-comments].py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.DataclassesDataclass-custom].py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.DataclassesDataclass-double].py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.DataclassesDataclass-plain].py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.MsgspecStruct-comments].py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.MsgspecStruct-custom].py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.MsgspecStruct-double].py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.MsgspecStruct-plain].py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.PydanticV2BaseModel-comments].py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.PydanticV2BaseModel-custom].py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.PydanticV2BaseModel-double].py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.PydanticV2BaseModel-plain].py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.PydanticV2Dataclass-comments].py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.PydanticV2Dataclass-custom].py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.PydanticV2Dataclass-double].py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.PydanticV2Dataclass-plain].py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.TypingTypedDict-comments].py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.TypingTypedDict-custom].py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.TypingTypedDict-double].py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.TypingTypedDict-plain].py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.DataclassesDataclass-comments].api.py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.DataclassesDataclass-custom].api.py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.DataclassesDataclass-double].api.py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.DataclassesDataclass-plain].api.py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.MsgspecStruct-comments].api.py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.MsgspecStruct-custom].api.py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.MsgspecStruct-double].api.py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.MsgspecStruct-plain].api.py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.PydanticV2BaseModel-comments].api.py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.PydanticV2BaseModel-custom].api.py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.PydanticV2BaseModel-double].api.py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.PydanticV2BaseModel-plain].api.py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.PydanticV2Dataclass-comments].api.py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.PydanticV2Dataclass-custom].api.py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.PydanticV2Dataclass-double].api.py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.PydanticV2Dataclass-plain].api.py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.TypingTypedDict-comments].api.py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.TypingTypedDict-custom].api.py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.TypingTypedDict-double].api.py
tests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.TypingTypedDict-plain].api.py
tests/main/conftest.py
tests/main/protobuf/conftest.py
tests/main/protobuf/test_auto_detection.py
tests/main/protobuf/test_auto_detection.refs
tests/main/protobuf/test_main_protobuf.py
tests/main/protobuf/test_main_protobuf.refs
tests/main/protobuf/test_option_preprocessing.py
tests/main/protobuf/test_option_preprocessing.refs

Files with no reviewable changes: 3
-
- tests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_common_status.py
- tests/main/conftest.py
- tests/main/protobuf/conftest.py
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 0 remain after this review.

Recent review info
-
Run configuration-
- Source mode: Auto
- Repository: datamodel-code-generator/datamodel-code-generator
- Branch: drop-expected-paths-b7ca
- File: .coderabbit.yaml
- Commit: a1eebb4
- Layers: Repository YAML
- Review profile: CHILL
- Plan: Advanced
- Run ID:
5335b0b9-8250-4d5b-9826-d76c0fd1f379
Files ignored due to path filters: 24-
docs/data/migration/unreleased/drop-expected-paths-b7c.tomlis excluded by none and included by nonetests/data/expected/main/protobuf/auto_detection/protobuf_auto_compiler_oracle[bom_comment].descriptor.txtis excluded by!tests/data/**/*.txtand included by nonetests/data/expected/main/protobuf/auto_detection/protobuf_auto_compiler_oracle[bom_comment].protoc_exit.txtis excluded by!tests/data/**/*.txtand included by nonetests/data/expected/main/protobuf/auto_detection/protobuf_auto_compiler_oracle[bom_edition_single].descriptor.txtis excluded by!tests/data/**/*.txtand included by nonetests/data/expected/main/protobuf/auto_detection/protobuf_auto_compiler_oracle[default].descriptor.txtis excluded by!tests/data/**/*.txtand included by nonetests/data/expected/main/protobuf/auto_detection/protobuf_auto_compiler_oracle[without_syntax].descriptor.txtis excluded by!tests/data/**/*.txtand included by nonetests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[cli-InputFileType.Auto-DataModelType.DataclassesDataclass-bom_comment].runtime.txtis excluded by!tests/data/**/*.txtand included by nonetests/data/expected/main/protobuf/auto_detection/protobuf_auto_inference_imports[comments].txtis excluded by!tests/data/**/*.txtand included by nonetests/data/expected/main/protobuf/main_protobuf/nullvalue_enum_backends[api-False-DataModelType.DataclassesDataclass].enum_value.txtis excluded by!tests/data/**/*.txtand included by nonetests/data/expected/main/protobuf/main_protobuf/referenced_standard_definition_order[nullvalue].txtis excluded by!tests/data/**/*.txtand included by nonetests/data/expected/main/protobuf/main_protobuf/referenced_standard_definition_order[standard_enum].txtis excluded by!tests/data/**/*.txtand included by nonetests/data/expected/main/protobuf/main_protobuf/referenced_standard_definition_order[standard_message].txtis excluded by!tests/data/**/*.txtand included by nonetests/data/expected/main/protobuf/main_protobuf/referenced_standard_definition_order[unused_standard].txtis excluded by!tests/data/**/*.txtand included by nonetests/data/expected/main/protobuf/main_protobuf/referenced_standard_definition_order[user_namespace].txtis excluded by!tests/data/**/*.txtand included by nonetests/data/expected/main/protobuf/option_preprocessing/protobuf_option_compiler_oracle[comments].descriptor.txtis excluded by!tests/data/**/*.txtand included by nonetests/data/expected/main/protobuf/option_preprocessing/protobuf_option_compiler_oracle[custom].descriptor.txtis excluded by!tests/data/**/*.txtand included by nonetests/data/expected/main/protobuf/option_preprocessing/protobuf_option_compiler_oracle[double].descriptor.txtis excluded by!tests/data/**/*.txtand included by nonetests/data/expected/main/protobuf/option_preprocessing/protobuf_option_compiler_oracle[plain].descriptor.txtis excluded by!tests/data/**/*.txtand included by nonetests/data/expected/main/protobuf/option_preprocessing/protobuf_option_compiler_oracle[rpc].rpc_services.txtis excluded by!tests/data/**/*.txtand included by nonetests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.DataclassesDataclass-comments].txtis excluded by!tests/data/**/*.txtand included by nonetests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.DataclassesDataclass-custom].txtis excluded by!tests/data/**/*.txtand included by nonetests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.DataclassesDataclass-double].txtis excluded by!tests/data/**/*.txtand included by nonetests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.DataclassesDataclass-plain].txtis excluded by!tests/data/**/*.txtand included by nonetests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.MsgspecStruct-custom].txtis excluded by!tests/data/**/*.txtand included by none
Files selected for processing: 154-
tests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[cli-InputFileType.Auto-DataModelType.DataclassesDataclass-bom_comment].pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[cli-InputFileType.Auto-DataModelType.DataclassesDataclass-bom_edition_single].pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[cli-InputFileType.Auto-DataModelType.DataclassesDataclass-default].pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[cli-InputFileType.Auto-DataModelType.MsgspecStruct-bom_comment].pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[cli-InputFileType.Auto-DataModelType.MsgspecStruct-bom_edition_single].pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[cli-InputFileType.Auto-DataModelType.MsgspecStruct-default].pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[cli-InputFileType.Auto-DataModelType.PydanticV2BaseModel-bom_comment].pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[cli-InputFileType.Auto-DataModelType.PydanticV2BaseModel-bom_edition_single].pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[cli-InputFileType.Auto-DataModelType.PydanticV2BaseModel-default].pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[cli-InputFileType.Auto-DataModelType.PydanticV2Dataclass-bom_comment].pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[cli-InputFileType.Auto-DataModelType.PydanticV2Dataclass-bom_edition_single].pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[cli-InputFileType.Auto-DataModelType.PydanticV2Dataclass-default].pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[cli-InputFileType.Auto-DataModelType.TypingTypedDict-bom_comment].pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[text-InputFileType.Auto-DataModelType.DataclassesDataclass-bom_comment].api.pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[text-InputFileType.Auto-DataModelType.DataclassesDataclass-bom_edition_single].api.pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[text-InputFileType.Auto-DataModelType.DataclassesDataclass-default].api.pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[text-InputFileType.Auto-DataModelType.MsgspecStruct-bom_comment].api.pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[text-InputFileType.Auto-DataModelType.MsgspecStruct-bom_edition_single].api.pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[text-InputFileType.Auto-DataModelType.MsgspecStruct-default].api.pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[text-InputFileType.Auto-DataModelType.PydanticV2BaseModel-bom_comment].api.pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[text-InputFileType.Auto-DataModelType.PydanticV2BaseModel-bom_edition_single].api.pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[text-InputFileType.Auto-DataModelType.PydanticV2BaseModel-default].api.pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[text-InputFileType.Auto-DataModelType.PydanticV2Dataclass-bom_comment].api.pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[text-InputFileType.Auto-DataModelType.PydanticV2Dataclass-bom_edition_single].api.pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[text-InputFileType.Auto-DataModelType.PydanticV2Dataclass-default].api.pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_generation[text-InputFileType.Auto-DataModelType.TypingTypedDict-bom_comment].api.pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_other_formats[cli-InputFileType.Auto-csv].pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_other_formats[cli-InputFileType.Auto-csv_comment].pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_other_formats[cli-InputFileType.Auto-csv_header_suffix].pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_other_formats[cli-InputFileType.Auto-csv_leading].pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_other_formats[cli-InputFileType.Auto-jsonschema].pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_other_formats[cli-InputFileType.Auto-yaml].pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_other_formats[text-InputFileType.Auto-csv].api.pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_other_formats[text-InputFileType.Auto-csv_comment].api.pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_other_formats[text-InputFileType.Auto-csv_header_suffix].api.pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_other_formats[text-InputFileType.Auto-csv_leading].api.pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_other_formats[text-InputFileType.Auto-jsonschema].api.pytests/data/expected/main/protobuf/auto_detection/protobuf_auto_other_formats[text-InputFileType.Auto-yaml].api.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable/__init__.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_common_address.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_common_status.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_legacy_legacy_message.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_legacy_legacy_message_legacy_group.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_legacy_legacy_status.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_presence_presence.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_public_public_token.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_shop_v1_get_order_request.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_shop_v1_get_order_response.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_shop_v1_order.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_shop_v1_order_line_item.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_shop_v1_order_role.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_spec_edition_edition_bucket.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_spec_proto2_external_group.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_spec_proto2_proto2_request.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_spec_proto2_proto2_response.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_spec_proto2_proto2_state.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_spec_proto2_spec_proto2.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_spec_proto2_spec_proto2_legacy_group.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_spec_proto2_spec_proto2_proto2_child.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_spec_proto3_alias_state.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_spec_proto3_spec_proto3.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_spec_proto3_spec_proto3_nested.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_spec_proto3_spec_proto3_request.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_spec_proto3_spec_proto3_response.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable/example_wkt_wrapper_bucket.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/__init__.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_common_address.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_common_status.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_legacy_legacy_message.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_legacy_legacy_message_legacy_group.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_legacy_legacy_status.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_presence_presence.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_public_public_token.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_shop_v1_get_order_request.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_shop_v1_get_order_response.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_shop_v1_order.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_shop_v1_order_line_item.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_shop_v1_order_role.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_spec_edition_edition_bucket.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_spec_proto2_external_group.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_spec_proto2_proto2_request.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_spec_proto2_proto2_response.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_spec_proto2_proto2_state.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_spec_proto2_spec_proto2.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_spec_proto2_spec_proto2_legacy_group.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_spec_proto2_spec_proto2_proto2_child.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_spec_proto3_alias_state.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_spec_proto3_spec_proto3.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_spec_proto3_spec_proto3_nested.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_spec_proto3_spec_proto3_request.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_spec_proto3_spec_proto3_response.pytests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_wkt_wrapper_bucket.pytests/data/expected/main/protobuf/main_protobuf/generate_api_protobuf_definition_key_collision.pytests/data/expected/main/protobuf/main_protobuf/generate_api_protobuf_from_text.pytests/data/expected/main/protobuf/main_protobuf/generate_api_protobuf_returns_code.pytests/data/expected/main/protobuf/main_protobuf/nullvalue_enum_backends[api-False-DataModelType.DataclassesDataclass].pytests/data/expected/main/protobuf/main_protobuf/nullvalue_enum_backends[api-False-DataModelType.MsgspecStruct].pytests/data/expected/main/protobuf/main_protobuf/nullvalue_enum_backends[api-False-DataModelType.PydanticV2BaseModel].pytests/data/expected/main/protobuf/main_protobuf/nullvalue_enum_backends[api-False-DataModelType.PydanticV2Dataclass].pytests/data/expected/main/protobuf/main_protobuf/nullvalue_enum_backends[api-False-DataModelType.TypingTypedDict].pytests/data/expected/main/protobuf/main_protobuf/protobuf_parser_renders_non_finite_defaults.pytests/data/expected/main/protobuf/main_protobuf/referenced_standard_generation[api-False-nullvalue].pytests/data/expected/main/protobuf/main_protobuf/referenced_standard_generation[api-False-standard_enum].pytests/data/expected/main/protobuf/main_protobuf/referenced_standard_generation[api-False-standard_message].pytests/data/expected/main/protobuf/main_protobuf/referenced_standard_generation[api-False-unused_standard].pytests/data/expected/main/protobuf/main_protobuf/referenced_standard_generation[api-False-user_namespace].pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.DataclassesDataclass-comments].pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.DataclassesDataclass-custom].pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.DataclassesDataclass-double].pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.DataclassesDataclass-plain].pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.MsgspecStruct-comments].pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.MsgspecStruct-custom].pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.MsgspecStruct-double].pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.MsgspecStruct-plain].pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.PydanticV2BaseModel-comments].pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.PydanticV2BaseModel-custom].pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.PydanticV2BaseModel-double].pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.PydanticV2BaseModel-plain].pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.PydanticV2Dataclass-comments].pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.PydanticV2Dataclass-custom].pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.PydanticV2Dataclass-double].pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.PydanticV2Dataclass-plain].pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.TypingTypedDict-comments].pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.TypingTypedDict-custom].pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.TypingTypedDict-double].pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[cli-InputFileType.Auto-DataModelType.TypingTypedDict-plain].pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.DataclassesDataclass-comments].api.pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.DataclassesDataclass-custom].api.pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.DataclassesDataclass-double].api.pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.DataclassesDataclass-plain].api.pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.MsgspecStruct-comments].api.pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.MsgspecStruct-custom].api.pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.MsgspecStruct-double].api.pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.MsgspecStruct-plain].api.pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.PydanticV2BaseModel-comments].api.pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.PydanticV2BaseModel-custom].api.pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.PydanticV2BaseModel-double].api.pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.PydanticV2BaseModel-plain].api.pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.PydanticV2Dataclass-comments].api.pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.PydanticV2Dataclass-custom].api.pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.PydanticV2Dataclass-double].api.pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.PydanticV2Dataclass-plain].api.pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.TypingTypedDict-comments].api.pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.TypingTypedDict-custom].api.pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.TypingTypedDict-double].api.pytests/data/expected/main/protobuf/option_preprocessing/protobuf_option_generation[text-InputFileType.Auto-DataModelType.TypingTypedDict-plain].api.pytests/main/conftest.pytests/main/protobuf/conftest.pytests/main/protobuf/test_auto_detection.pytests/main/protobuf/test_auto_detection.refstests/main/protobuf/test_main_protobuf.pytests/main/protobuf/test_main_protobuf.refstests/main/protobuf/test_option_preprocessing.pytests/main/protobuf/test_option_preprocessing.refs
Files with no reviewable changes: 3-
- tests/data/expected/main/protobuf/main_protobuf/directory_output_importable@black22/example_common_status.py
- tests/main/conftest.py
- tests/main/protobuf/conftest.py
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 0 remain after this review.
-
Merging this PR will improve performance by 19.22%2 warnings
Performance Changes
Tip Curious why performance improved? Comment Comparing Footnotes
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Breaking Change AnalysisResult: No breaking changes detected Reasoning: The PR only changes the test harness: protobuf tests now store their expected outputs under their own test names, the shared EXPECTED_PROTOBUF_PATH constant and the protobuf test conftest were removed, and the stored expected files were renamed to match. The only stored content changes are in the black 22 copy of the directory test output, which the migration note says reflects the package writing the same output. The migration note is filed under the harness category. No package source, command-line option, Python API, template, default, error handling or Python version support is touched. The behaviour diff gate lists only both-fail cells, with no accepted or violation cells, so default output does not change. This analysis was produced by the release draft workflow |
|
🎉 Released in 0.100.0 This PR is now available in the latest release. See the release notes for details. |
Summary by CodeRabbit