Explicitly define public API with `__all__`
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Start by reviewing the cf-python package modules and docs/source/check_docs_api_coverage.py to understand which names are treated as public and how API coverage is checked. Define the intended public names consistently across the codebase, then verify that the documentation coverage script can use the declarations as its canonical source.
Written by the indexing model from the issue text.
Description
We don't define the __all__ variable across the cf-python codebase, however we should because doing so has a number of benefits - through providing a single machine-readable source of truth for the API.
One, which I'll note (alone, otherwise see link above to benefits) because it relates to what I'm working on with #957 fixes, is to allow us to know canonically what should be present in the documentation, for example for our API coverage check script to use.
I'm labelling this also with 'API review (4.0.0)' because it can allow us to see more clearly the public API we have, facilitating review of it.
- Dominant language
- Python
- Stars
- 151
- Forks
- 23
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 3
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from NCAS-CMS/cf-python
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 72/100
-
Convert to/from iris cubesPossibly taken @davidhassell claimed this 4 days ago. Openenhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
installation
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Attempt at unsupported conservative 3D mesh regriddingMay be free again @sadielbartholomew claimed this 75 days ago, and no pull request is open. Openbug?
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 45/100
All issues in NCAS-CMS/cf-python
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
vllm-project/vllm#69791 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
BCStudentSoftwareDevTeam/cas#481 ·
Maintainers usually reply within 7 days
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
Maintainers usually reply within 1 day