Skip to content

Commit 0d8e705

Browse files
Merge 5c0108f into b6ae5f3
2 parents b6ae5f3 + 5c0108f commit 0d8e705

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ repos:
3232
- id: rst-inline-touching-normal
3333
- id: text-unicode-replacement-char
3434
- repo: https://github.com/asottile/pyupgrade
35-
rev: v2.11.0
35+
rev: v2.12.0
3636
hooks:
3737
- id: pyupgrade
3838
args: [--py36-plus]

src/_pytask/mark/expression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def lex(self, input_: str) -> Iterator[Token]:
102102
else:
103103
raise ParseError(
104104
pos + 1,
105-
'unexpected character "{}"'.format(input_[pos]),
105+
f'unexpected character "{input_[pos]}"',
106106
)
107107
yield Token(TokenType.EOF, "", pos)
108108

0 commit comments

Comments
 (0)