Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ignore=D001
[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

max-doc-length = 120

[pydocstyle]
; D101 = Missing docstring in public class
Expand Down