mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-02 14:52:01 +00:00
Add trailing zero between dot and exponential (#7956)
Closes https://github.com/astral-sh/ruff/issues/7952.
This commit is contained in:
parent
3d03e75a9d
commit
aa6846c78c
3 changed files with 43 additions and 5 deletions
7
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/number.py
vendored
Normal file
7
crates/ruff_python_formatter/resources/test/fixtures/ruff/expression/number.py
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
.1
|
||||
1.
|
||||
1E+1
|
||||
1E-1
|
||||
1.E+1
|
||||
1.0E+1
|
||||
1.1E+1
|
Loading…
Add table
Add a link
Reference in a new issue