Skip to content

Conversation

@mariajgrimaldi
Copy link
Member

This PR adds support for 120 max doc lines. Suggestion taken from: https://github.com/eduNEXT/openedx-events/pull/18#discussion_r675183610

[pycodestyle]
exclude = .git,.tox
max-line-length = 120
max-doc-length = 79

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want to remove the check altogether and not go for max-doc-length = 120?

Copy link
Member Author

@mariajgrimaldi mariajgrimaldi Jul 26, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right. I was following edx-django-utils configuration. But then I found this: https://edx.readthedocs.io/projects/edx-developer-guide/en/latest/style_guides/python-guidelines.html#syntax-and-organization

Please use 79 chars as a limit for docstring lines though, so that the text remains readable.

I think I'm gonna close this issue. Thanks for the review though!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fixed it! @MoisesGSalas

@mariajgrimaldi mariajgrimaldi force-pushed the MJG/remove_doc_max_line branch from 8183e79 to 4dcee66 Compare July 26, 2021 22:09
@mariajgrimaldi mariajgrimaldi merged commit 8afef36 into main Jul 27, 2021
@mariajgrimaldi mariajgrimaldi deleted the MJG/remove_doc_max_line branch July 28, 2021 14:50
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.

3 participants