Skip to content

Commit 2fa83e1

Browse files
authored
Merge pull request #1 from ghazi-git/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents abaa37d + fbdd47e commit 2fa83e1

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repos:
99
- id: check-yaml
1010

1111
- repo: https://github.com/Zac-HD/shed
12-
rev: 0.10.9
12+
rev: 2023.3.1
1313
hooks:
1414
- id: shed
1515
additional_dependencies: [ 'black~=23.1' ]

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)