Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding docstyle checking to pre-commit #2

Merged
merged 4 commits into from
Feb 2, 2024
Merged

Conversation

GMW99
Copy link
Member

@GMW99 GMW99 commented Jan 26, 2024

This will ensure a consistent documentation style is used throughout the Franklin.

Google is suggested as the committer's belief that it is the clearest and easy to parse.

The conventions ignored are:

D100 Missing docstring in public module
D104 Missing docstring in public package
D200 One-line docstring should fit on one line with quotes

The reasoning for D100 and D104 is that often; these doc strings are beyond self-evident from the naming of the class or module. For D200, this is not always the case, especially if we are stating the max line length is 88.

GMW99 and others added 4 commits January 26, 2024 14:50
The conventions ignored are:
D100	Missing docstring in public module
D104  Missing docstring in public package
D200	One-line docstring should fit on one line with quotes

Reasoning for D100 and D104 is that often these doc strings are beyond self-evident from the naming of the class or module. For D200 this is not always the case especially if we are stating the maxline length is 88.
@jmp1985 jmp1985 merged commit b9f373b into main Feb 2, 2024
4 checks passed
@jmp1985 jmp1985 deleted the pre-commit-doc_style branch February 2, 2024 04:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants