Conversation
|
Ah mdformat puts code fences on admonitions... will need to investigate. Maybe relevant cljdoc/cljdoc#95 edit: resolved, there's a plugin for this at https://github.com/KyleKing/mdformat-admon which is recommended by the mdformat-mkdocs plugin |
charliermarsh
left a comment
There was a problem hiding this comment.
Looks great! Very clear.
|
|
||
| ### Fix safety | ||
|
|
||
| Ruff labels fixes as "safe" and "unsafe". The meaning and intent of your code will be retained when applying safe fixes, but the meaning could be changed when applying unsafe fixes. |
There was a problem hiding this comment.
I think we should show an example here of what we consider safe and unsafe so users get a rough idea what "change meaning" entails
There was a problem hiding this comment.
Good idea I was considering that but didn't know a good example off the top of my head. Maybe Charlie does? Let's address this in a follow-up.
CodSpeed Performance ReportMerging #7901 will improve performances by 9.59%Comparing Summary
Benchmarks breakdown
|
Per review in #7901 adds an example of an unsafe fix.
Adds documentation for using
ruff check . --fixUses the draft of the "Automatic fixes" section from #7732 and adds documentation for unsafe fixes, applicability levels, and #7841
I enabled admonitions because they're nice. We should use them more.