Skip to content

Commit fbdd47e

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 79e2877 commit fbdd47e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

flake8_custom_error_messages/plugin.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@ def after_init(self):
3939
# flake8 does not support parsing values containing spaces from config
4040
# files
4141
msgs = [
42-
line.strip()
43-
for line in error_messages.splitlines()
44-
if line.strip()
42+
line.strip() for line in error_messages.splitlines() if line.strip()
4543
]
4644
else:
4745
# when parsed from the command line, the value is already a list

0 commit comments

Comments
 (0)