fix: switch `skip_infer_table_types` default to `None` (#4464)
## Summary
Closes #3063: switch the `skip_infer_table_types` default from a
hard-coded list to `None`, and set the actual default inside
`partition()`.
## Changes
- `unstructured/partition/auto.py`:
- `partition()` signature: `skip_infer_table_types: Optional[list[str]]
= None` (was `["pdf", "jpg", "png", "heic"]`)
- Inside `partition()`: normalize `None` → `["pdf", "jpg", "png",
"heic"]` before it reaches `decide_table_extraction()`, so callers can
distinguish an explicit value from the default
## Verification
- `ast.parse` passes
- Local assertions cover 3 scenarios:
- Default (`None`): pdf skipped for table inference, docx inferred
(unchanged behavior)
- Explicit `[]`: pdf inferred too (no types skipped)
- Custom `["docx"]`: docx skipped, pdf inferred
- Behavior for callers that pass an explicit list is byte-for-byte
unchanged
<!-- This is an auto-generated description by cubic. -->
<a
href="https://cubic.dev/pr/Unstructured-IO/unstructured/pull/4464?utm_source=github"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img
alt="Review in cubic"
src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a>
<!-- End of auto-generated description by cubic. -->
Signed-off-by: Dream <2468001320@qq.com>