Adjust rules for comments
jamescooke opened this issue · 0 comments
jamescooke commented
# comments
are helpful in complicated tests but they can be disruptive to test structure. This is my current thinking:
- Arrange:
# comments
allowed throughout. - Act: No
# comments
allowed - if something is important enough to comment in the Act block, then it should go in the docstring of the test itself. - Arrange:
# comments
allowed throughout.
Good examples that need to be edited:
flake8-aaa/examples/good/test_comments_aaa05.py
Lines 14 to 27 in de688e5
flake8-aaa/examples/good/test_comments.py
Lines 4 to 21 in de688e5