ruff
ruff copied to clipboard
D301 breaks Click docstrings that use the \b escape sequence
Click uses \b
to prevent re-wrapping: https://click.palletsprojects.com/en/8.1.x/documentation/#preventing-rewrapping
Maybe this rule could detect if it's a function docstring that has a @click.*
decorator on it, or have a setting that whitelists certain escape sequences.