Forbids binary strings with unicode escape chars #693
Labels
help wanted
Extra attention is needed
level:starter
Good for newcomers
rule request
Adding a new rule
Milestone
Rule request
Thesis
We should forbid strings like
b'\u0042'
Related #692
Related: https://github.com/PyCQA/pylint/search?q=anomalous-unicode-escape-in-string&unscoped_q=anomalous-unicode-escape-in-string
Reasoning
This is incorrect. Use regular strings instead:
'\u0042'
This is a best practices rule.
The text was updated successfully, but these errors were encountered: