-
Notifications
You must be signed in to change notification settings - Fork 18
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
Style and formatting rules #51
Conversation
My thoughts✔️ Happy with all of these choices.
So here are my thoughts on absolute vs relative for this case:
So with that ✔️ happy to start moving across to absolute. Thanks again for this PR, there's some great stuff here that's contributing to the overall quality.
|
@daxm just wanted to see if you had any thoughts on style while we're discussing? |
Done. |
I love Black. Jacob, |
I agree, Black makes life a lot easier. And I also think Mitch did a good choice in extending the line-length.
I think the only addition really is isort, the rest of the tests are already in place in the workflow, configured my Mitch I assume. I just tried to state them so that new contributors do not need to guess. |
a |
I have added
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you just review those two comments and I'll approve this after.
Thanks again for your work on this one 😃
Thanks! 😃 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Happy we're moving forward with this.
Style, formatting can always can be a religious thing, but when we started to discuss it, I just put in my 50 cents 😀.
For me it is no big deal, but I think what ever rules are set, they should as clear as possible and there were some things I found a bit unclear when I started to contribute to this project that I more or less have guessed.
So Mitch, please correct me if I'm wrong:
Apart from this, I also think personally that:
In this PR I have included configuration for these formatting tools which makes it easier for all contributors to conform to the formatting rules and updated documentation abit.
I have also reformatted the files accordingly, even the docsrc and tests directory...this could be argued if they should be included or not..