Skip to content

Commit f1162a6

Browse files
authored
Merge pull request #84 from bobleesj/cookie-lambda
Fix flake8 with noqa: E731
2 parents 7ea0fa9 + 2ac6bfb commit f1162a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/diffpy/srfit/fitbase/recipeorganizer.py

+1-1
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)