Commit a0b03ea
Release Manager
gh-42145: Set ruff format quote-style to preserve
We have not adopted a strict rule throughout the project on using `'`
versus `"` for quotes. This PR changes our ruff configuration to leave
quotes alone, so that developers can use `ruff format` without creating
large diffs that mostly just change `'` to `"`. If we ever decide to
enforce either single or double quotes, we can just change this config
option then.
Hopefully this makes it easier to use `ruff format` more often when
developing Sage without cluttering diffs.
### 📝 Checklist
<!-- Put an `x` in all the boxes that apply. -->
- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
- [ ] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation and checked the documentation
preview.
### ⌛ Dependencies
<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - #12345: short description why this is a dependency -->
<!-- - #34567: ... -->
URL: #42145
Reported by: Vincent Macri
Reviewer(s): Antoine Leudière
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
265 | 268 | | |
266 | 269 | | |
267 | 270 | | |
| |||
0 commit comments