Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The mapping documentation describes INI and TOML syntax, but does not show how to select a configuration file. This leaves readers unsure whether a particular filename is required or whether
pyproject.tomlis loaded automatically.pybabel extract -Fexamples forbabel.cfg,babel.toml, andpyproject.toml.The existing sections already describe built-in extractors, common options, and TOML syntax; this fills the remaining invocation gap. No runtime behavior changes.
Closes #1063.
Validation
On macOS with CPython 3.13.5, after importing the repository's CLDR 48.2 data:
python -m pytest -q tests: 6502 passed, 1174 skipped, 1 xfailed. Skips include unavailable pytz, setuptools, and benchmark dependencies, plus platform/deprecation-specific cases. One existing pytest parametrization deprecation warning.python -m pytest -q tests/messages: 383 passed, 1 skipped.pyproject.tomlignore mapping has no effect without-Fand takes effect when explicitly selected. These were local behavioral checks, not new committed tests.git diff --check: passed.python -m sphinx -b html -W --keep-going docs <output>: not clean on either the unchanged base or this branch. Both report the same five existing diagnostics (JavaScript extractor docstring indentation and unresolved links in dates/dev/messages); no new diagnostic was introduced.The full multi-version/platform CI matrix was not run locally.
AI assistance disclosure: this documentation change and local verification were prepared with Hermes Agent assistance.