-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
strings on multiple lines with different quotes #82
Comments
not a big worry if this isn't possible since I can use |
I think we're open to supporting this but I concur it will add a layer of complexity to everything. One other option aside from 'validators should be used with fields and keyword arguments, not bare. '
'E.g. usage should be `@validator(\'<field_name>\', ...)`' That being said, I'll leave this issue open as "help wanted" if anyone wants to explore it. Maybe we could call the option |
I would also be interested in this feature/option |
Also interested in this feature |
I'd like it too, but it needs to allow the quotes to differ if doing so avoids escapes. e.g.
should not be an error. |
I'm really keen to use this on pydantic, however there's one
blockingissueTake the following example:
I would say both lines should use double quotes so they're the same even though only one line includes single quotes.
I'm aware this would make analysis more complicated, but is it something you would consider? Either as default or via an option.
The text was updated successfully, but these errors were encountered: