Skip to content

Document show_error_codes config option and CLI flag#20767

Open
veeceey wants to merge 1 commit intopython:masterfrom
veeceey:fix/issue-17083-document-show-error-codes
Open

Document show_error_codes config option and CLI flag#20767
veeceey wants to merge 1 commit intopython:masterfrom
veeceey:fix/issue-17083-document-show-error-codes

Conversation

@veeceey
Copy link

@veeceey veeceey commented Feb 8, 2026

Summary

Fixes #17083

Both the config file and command line documentation were missing documentation for show_error_codes, which is the default behavior (error codes are shown by default).

Changes

  • Added show_error_codes documentation in config_file.rst (as the default True option)
  • Added --show-error-codes documentation in command_line.rst (as the default behavior)

This makes it clear that:

  • Error codes are shown by default
  • Users can use either show_error_codes = True or hide_error_codes = False in the config file
  • Users can use either --show-error-codes or --no-hide-error-codes on the command line

Test plan

  • Updated documentation files
  • Verified cross-references work correctly
  • Checked that the new entries follow the existing documentation style

Fixes python#17083

Both the config file and command line documentation were missing
documentation for show_error_codes, which is the default behavior
(error codes are shown by default). Added documentation for:

- show_error_codes in config_file.rst (as the default True option)
- --show-error-codes in command_line.rst (as the default behavior)

This makes it clear that error codes are shown by default and that
users can use either show_error_codes=True or hide_error_codes=False
in the config file, and either --show-error-codes or --no-hide-error-codes
on the command line.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

show_error_codes and show_error_code_links missing in documentation

1 participant