-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
3.14Needed to releae with 3.14 support claimed to be completeNeeded to releae with 3.14 support claimed to be completeT: bugSomething isn't workingSomething isn't working
Description
Describe the bug
black doesn't support Python 3.14 syntax.
To Reproduce
For example, take this code:
name = "world"
print(t"hello {name}")And run it with these arguments:
$ black file.py --target-version py314The resulting error is:
error: cannot format t_string.py: Cannot parse for target version Python 3.14: 3:7: print(t"hello {name}")
Expected behavior
I expect black to be able to parse this.
Environment
- Black's version: 25.9.0
- OS and Python version: macOS 15.6.1, Python (CPython) 3.13.5
Additional context
None.
cooperleestusharsadhwani, itamaro and hugovk
Metadata
Metadata
Assignees
Labels
3.14Needed to releae with 3.14 support claimed to be completeNeeded to releae with 3.14 support claimed to be completeT: bugSomething isn't workingSomething isn't working