ruff/crates/ruff_linter
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
..
resources/test Implement pylint import-outside-toplevel rule (C0415) (#5180) 2023-10-29 16:40:26 +00:00
src Impl Default for (String|Bytes|Boolean|None|Ellipsis)Literal (#8341) 2023-10-30 08:47:44 +00:00
Cargo.toml Bump version to v0.1.3 (#8259) 2023-10-26 18:57:05 +00:00