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

Classes Docstrings #5

Open
Zarad1993 opened this issue Apr 5, 2019 · 12 comments
Open

Classes Docstrings #5

Zarad1993 opened this issue Apr 5, 2019 · 12 comments
Labels
enhancement New feature or request help wanted Extra attention is needed up-for-grabs Ready issue for someone to work on

Comments

@Zarad1993
Copy link
Owner

Docstrings are missing in new clases and at the top of the file

@Zarad1993 Zarad1993 added help wanted Extra attention is needed enhancement New feature or request labels Apr 5, 2019
@Zarad1993 Zarad1993 changed the title Classes and Top of file Docstrings Classes Docstrings Apr 13, 2019
@Zarad1993 Zarad1993 added the up-for-grabs Ready issue for someone to work on label Apr 13, 2019
@frangiz
Copy link
Contributor

frangiz commented Sep 29, 2019

Hey, I can fix this if you want. Will fix a PR for you.

@Zarad1993
Copy link
Owner Author

@frangiz - That'll be great. Thanks

Zarad1993 added a commit that referenced this issue Oct 8, 2019
Issue #5: Added some docstrings for the new classes.
@demern
Copy link

demern commented Oct 11, 2020

Hey there--is this still an issue that you'd like folks to help out with? I see that a pull request was merged about a year ago, but looking at the project today I still see a bunch of methods in the 'dyc' classes themselves that are missing docstrings and getting picked up by the tool:

(dyc-venv) [ndemers@localhost dyc]$ dyc start
`dyc.yaml` Missing or Incorrectly formatted. USING default settings

Processing Methods



In file dyc/dyc/utils.py :

Do you want to document method list keywords: list of keywords like for python, func for go etc.? [y/N]: 


In file dyc/tests/test_utils.py :

Do you want to document method test_should_return_none_if_not_found? [y/N]: 
Do you want to document method test_tabs? [y/N]: 
Do you want to document method test_2_spaces? [y/N]: 
Do you want to document method test_falsy_value? [y/N]: 
Do you want to document method test_default_4_spaces? [y/N]: 
Do you want to document method test_existing_extension_valid? [y/N]: 
Do you want to document method test_non_existing_extension? [y/N]: 
Do you want to document method test_wrong_extension_type? [y/N]: 
(dyc-venv) [ndemers@localhost dyc]$ 

If so, let me know and I can take a stab at adding docstrings for the above methods so dyc gives clean output for the project sources.

@Zarad1993
Copy link
Owner Author

Hey @demern - Please go ahead with it. I don't think anyone is looking at this currently.

@Zarad1993
Copy link
Owner Author

If so, let me know and I can take a stab at adding docstrings for the above methods so dyc gives clean output for the project sources.

Good idea

@demern
Copy link

demern commented Oct 13, 2020

Hi @Zarad1993 - I've posted a PR for the new docstrings here: #61

I also filed a new issue for another bug I observed along the way: #62

@Zarad1993
Copy link
Owner Author

Thanks @demern - I will try to move the PR forward today/tomorrow max.
Your contribution is highly appreciated.

@AshirGuptash
Copy link
Contributor

AshirGuptash commented Apr 19, 2021

Hi @Zarad1993 , I'd like to contribute to this (for the classesBuilder() part). For this, what are you thinking for the format of a class docstring? Do we want something that has the parameters of the class itself (inheritance) or maybe the parameters of the init function?

@Zarad1993
Copy link
Owner Author

Yes, perhaps the parameters of the class inheritance would work perfectly.. We can iterate on it if you want too.

@AshirGuptash
Copy link
Contributor

Sounds good, we can start with just inheritance arguments in the docstring, and add to afterward.

@AshirGuptash
Copy link
Contributor

Hi @Zarad1993 , we sent a PR #68 . Can you review it when you get the chance? Thanks!

Zarad1993 added a commit that referenced this issue Apr 26, 2021
Implement Class Docstrings as per Issue #5 #67
@Friendly-Banana
Copy link

@Zarad1993 This issue should be closed, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed up-for-grabs Ready issue for someone to work on
Projects
None yet
Development

No branches or pull requests

5 participants