MarcoGorelli / cython-lint

Lint Cython files
MIT License
68 stars 11 forks source link

Triple quotes #83

Closed lyzlisa closed 9 months ago

lyzlisa commented 10 months ago

Does double-quote-cython-strings handle conversion of ''' to """ in docstrings or multiline strings?

MarcoGorelli commented 10 months ago

hey - I can't remember, did you try it to see?

lyzlisa commented 10 months ago

When I ran pre-commit run double-quote-cython-strings -a only the single quotes got updated.

Looking at the code, I'm guessing it's currently not supported?

https://github.com/MarcoGorelli/cython-lint/blob/346d25894652a17f4cc7514f4d832f2041fc2c2e/cython_lint/string_fixer.py#L11-L12

MarcoGorelli commented 9 months ago

looks like it

closing then, but thanks for the issue