We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents abaa37d + fbdd47e commit 2fa83e1Copy full SHA for 2fa83e1
.pre-commit-config.yaml
@@ -9,7 +9,7 @@ repos:
9
- id: check-yaml
10
11
- repo: https://github.com/Zac-HD/shed
12
- rev: 0.10.9
+ rev: 2023.3.1
13
hooks:
14
- id: shed
15
additional_dependencies: [ 'black~=23.1' ]
flake8_custom_error_messages/plugin.py
@@ -39,9 +39,7 @@ def after_init(self):
39
# flake8 does not support parsing values containing spaces from config
40
# files
41
msgs = [
42
- line.strip()
43
- for line in error_messages.splitlines()
44
- if line.strip()
+ line.strip() for line in error_messages.splitlines() if line.strip()
45
]
46
else:
47
# when parsed from the command line, the value is already a list
0 commit comments