docs: modify rest style comments with doc convert to follow google style.#993
Open
martynia wants to merge 2 commits into
Open
docs: modify rest style comments with doc convert to follow google style.#993martynia wants to merge 2 commits into
martynia wants to merge 2 commits into
Conversation
devlink42
reviewed
Jul 16, 2026
aldbr
requested changes
Jul 17, 2026
Comment on lines
-85
to
-86
| :raises: diracx.core.exceptions.NotReadyError if the source is being loaded still | ||
| :raises: git.exc.BadName if version does not exist |
Contributor
There was a problem hiding this comment.
Raises have been deleted, is that expected?
There was a problem hiding this comment.
I don't think so because there is no explicit 'raise' in the core of the function, so we don't normally have to put it in, do we?
Comment on lines
-96
to
-97
| :raises: diracx.core.exceptions.NotReadyError if the source is being loaded still | ||
| :raises: git.exc.BadName if version does not exist |
Contributor
There was a problem hiding this comment.
Same here, they have been deleted
DIRACGridBot
marked this pull request as draft
July 17, 2026 08:50
Contributor
Author
|
The converter is not perfect. I spotted a few deletions, I missed those
apparently.
…On Fri, 17 Jul 2026 at 10:50, aldbr ***@***.***> wrote:
***@***.**** requested changes on this pull request.
------------------------------
In diracx-core/src/diracx/core/sources.py
<#993 (comment)>:
> - :raises: diracx.core.exceptions.NotReadyError if the source is being loaded still
- :raises: git.exc.BadName if version does not exist
Raises have been deleted, is that expected?
------------------------------
In diracx-core/src/diracx/core/sources.py
<#993 (comment)>:
> - :raises: diracx.core.exceptions.NotReadyError if the source is being loaded still
- :raises: git.exc.BadName if version does not exist
Same here, they have been deleted
—
Reply to this email directly, view it on GitHub
<#993?email_source=notifications&email_token=AB2KE7IJJXI6ABILNO5NOG35FHSDXA5CNFSNUABKM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UKJSXM2LFO4XTINZSGA4TIMJWHA42M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#pullrequestreview-4720941689>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB2KE7KDRB7DFYB4LBTRUS35FHSDXAVCNFSNUABFKJSXA33TNF2G64TZHM3DKNBQGU4DCOBZHNEXG43VMU5TIOBZHE4DKOJTHEY2C5QC>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
martynia
marked this pull request as ready for review
July 21, 2026 14:11
devlink42
approved these changes
Jul 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A minimal change, only convert rest style comments to google style comments. Don't modify comments themselves, when possible. Fixes #927