mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-31 02:36:52 +00:00
feat: process fstring when python version gte 3.12
This commit is contained in:
parent
0d20f18212
commit
8a5e9ade6c
2 changed files with 17 additions and 0 deletions
|
|
@ -43,6 +43,12 @@ TESTS = (
|
|||
0,
|
||||
id='ignore nested fstrings',
|
||||
),
|
||||
pytest.param(
|
||||
'f"Error during task loop"',
|
||||
"f'Error during task loop'",
|
||||
1,
|
||||
id='process the fstrings when pyver is gte 3.12',
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue