ruff/crates/ruff_python_ast
Dhruv Manilawala b0dc5a86a1
Impl `Default` for `(String|Bytes|Boolean|None|Ellipsis)Literal` (#8341)
## Summary

This PR adds `Default` for the following literal nodes:
* `StringLiteral`
* `BytesLiteral`
* `BooleanLiteral`
* `NoneLiteral`
* `EllipsisLiteral`

The implementation creates the zero value of the respective literal
nodes in terms of the Python language.

## Test Plan

`cargo test`
2023-10-30 08:47:44 +00:00
..
src Impl `Default` for `(String|Bytes|Boolean|None|Ellipsis)Literal` (#8341) 2023-10-30 08:47:44 +00:00
tests Split `Constant` to individual literal nodes (#8064) 2023-10-30 12:13:23 +05:30
Cargo.toml Implement our own small-integer optimization (#7584) 2023-09-25 15:13:21 +00:00