-
Notifications
You must be signed in to change notification settings - Fork 97
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
Docstring update for the indegree, outdegree and degree functions in core.jl #419
base: master
Are you sure you want to change the base?
Conversation
Fixed the documentation of the functions indegree, outdegree and degree and removed the TODO comment in the source code that was asking for it.
I just received an email telling me about those failing tests. I do not know what those are. What should I do so that they pass? |
The tests fail due to the formatting of the code. You should either run the julia formatter on the changed file (in vscode use "format document with...") or explicitly run it on the files (see JuliaFormatter quick start) I would guess that it complains about the double empty line after |
… BlueStyle() using JuliaFormatter
I see. I admit I had missed the Contributor Guide page of the package. I followed the link you gave to JuliaFormatter. Running it on the file using |
I am surprised that it replaced the spaces with tabs... do you have indentation with tabs set up in vscode? Did you run the testsuite locally on your machine? (see the testing workflow in the docs) |
To add a review style comment though, as this has been a lot of talk about formalities: I think your changes of the docstrings are well written and do help clarify the behaviour of these functions. As such, I am in favour of merging this PR, once we figured out the formatting. |
Thanks for helping and for the positive feedback. As far as I can tell my VSCode has always been set up with spaces and never with tabs (on the bottom right it says |
Fixed the documentation of the functions indegree, outdegree and degree and removed the TODO comment in the source code that was asking for it. I am new to GitHub, Julia and programming in general. Please check carefully and do not hesitate to let me know of any mistake.