defined config overwritten by config further up directory tree
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 5.2k
- Forks
- 754
- PR merge metrics
- No merged PRs in 30d
Description
In the read_config function first the "user" config file is read then the directory tree is searched for "local" config files. If any config files exist within the directory tree they overwrite what was defined in the file specified by using --config. I've made a fork and plan on issuing a pull request soon. BTW I have no idea what I'm doing.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the read_config function in the repository's single Python file and trace how --config is loaded before local configuration files are searched. Reproduce the case with a user config and a local config defining the same setting, then verify that the explicitly specified --config value is retained. Add or update regression coverage using the repository's existing test entry points, if available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100