Skip to content

Commit 2ac6bfb

Browse files
committed
Add noqa: E731 with flake8
1 parent 7ea0fa9 commit 2ac6bfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffpy/srfit/fitbase/recipeorganizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@ def show(self, pattern="", textwidth=78):
944944
the screen width. Do not trim when negative or 0.
945945
"""
946946
regexp = re.compile(pattern)
947-
pmatch = lambda s: (len(s.split(None, 1)) < 2 or regexp.search(s.split(None, 1)[0]))
947+
pmatch = lambda s: (len(s.split(None, 1)) < 2 or regexp.search(s.split(None, 1)[0])) # noqa: E731
948948
# Show sub objects and their parameters
949949
lines = []
950950
tlines = self._formatManaged()

0 commit comments

Comments
 (0)