Amend unassigned "inputerror" variable in extract
Open
Beginner friendly
Nobody has claimed this yet.
bug
good first issue
- Dominant language
- Python
- Stars
- 8
- Forks
- 7
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 23
Description
VScode flagged "undefined variable InputError" in extract
https://github.com/MetOffice/CDDS/blob/main/cdds/cdds/extract/common.py#L707
This likely needs changing to use `RuntimeError` instead
Contributor guide
No contributing guide indexed for this repository
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
Open cdds/cdds/extract/common.py at line 707 and inspect the undefined InputError reference in extract. Confirm the intended RuntimeError replacement from the issue, then run the relevant extract checks or tests available in the repository; done means the undefined-variable warning is resolved without breaking extraction behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 65/100