Skip to content

Ini option aliases #13829

@bluetech

Description

@bluetech

For #13823 I'd like strictness options to have a consistent strict_foo naming scheme, however the option xfail_strict has it in reverse. I'd like to rename it to strict_xfail, while keeping xfail_strict as an alias.

To achieve this cleanly, I propose we add support for aliases to parser.addini(). It's pretty useful functionality for backward compatibility, and plugins may want to use it as well.

Metadata

Metadata

Assignees

Labels

topic: configrelated to config handling, argument parsing and config filetype: enhancementnew feature or API change, should be merged into features branchtype: proposalproposal for a new feature, often to gather opinions or design the API around the new feature

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions