File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ def test_call(self, mocker):
188188
189189 def test_repr_with_no_name (self , mocker ):
190190 stub = mocker .stub ()
191- assert not "name" in repr (stub )
191+ assert "name" not in repr (stub )
192192
193193 def test_repr_with_name (self , mocker ):
194194 test_name = "funny walk"
@@ -628,7 +628,7 @@ def test_assert_called_with_unicode_arguments(mocker):
628628
629629
630630def test_plain_stopall (testdir ):
631- """Calling patch.stopall() in a test would cause an error during unconfigure (#137)"""
631+ """patch.stopall() in a test should not cause an error during unconfigure (#137)"""
632632 testdir .makepyfile (
633633 """
634634 import random
Original file line number Diff line number Diff line change @@ -21,3 +21,6 @@ commands = pre-commit run --all-files --show-diff-on-failure
2121
2222[pytest]
2323addopts = -ra
24+
25+ [flake8]
26+ max-line-length = 88
You can’t perform that action at this time.
0 commit comments