WPS323 Found %
string formatting
#704
Replies: 1 comment
-
This is a known false-positive, unfortunately. Not sure what to do about it but I think I disabled it exactly because of this in some projects. There are upstream bugs that seem to be not that straightforward to fix judging by the number of times this issue reoccured in one form or another: wemake-services/wemake-python-styleguide#1489 / wemake-services/wemake-python-styleguide#1879 / wemake-services/wemake-python-styleguide#1304 / wemake-services/wemake-python-styleguide#1796 / wemake-services/wemake-python-styleguide#1329. Also, this wemake-services/wemake-python-styleguide#1304 (comment) seems to suggest that this check could be ignored if it doesn't work for us. Moreover, since pylint already covers this case, it's probably okay not to care about it that much in flake8. |
Beta Was this translation helpful? Give feedback.
-
The specific line is:
which I thought was still the correct way to format a log message.
Beta Was this translation helpful? Give feedback.
All reactions