We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello again :)
The following code is not raising a TC003 but I think it should:
TC003
import numpy as np def check_a_b(a: np.ndarray, b: np.ndarray) -> None: if len(a) != len(b): raise ValueError( "cezczeczeczecezczeczecnezklcnzelkczkenclkzecnzeklck" f"({len(a)})zedenzcklzelkcnzelcknzeklcnzelkncklzeckl" f"({len(b)})dzekckezncknzecklnzeklczkelcklzencknzeck" )
The text was updated successfully, but these errors were encountered:
Thanks for reporting! I'll take a look and fix this scenario as soon as I have time 🙏
Sorry, something went wrong.
I was coming here to raise this issue as well. I managed to realise that TC003 isn't raised with f-strings.
I also found out that it doesn't appear to issue a TC003 when it's just one long “word”.
So, the following is flagged with TC003:
raise ValueError("01234567890123456789 12345678901234567890123456789")
But none of these two are:
raise ValueError("01234567890123456789012345678901234567890123456789") raise ValueError(f"01234567890123456789 12345678901234567890123456789")
guilatrova
No branches or pull requests
Hello again :)
The following code is not raising a
TC003
but I think it should:The text was updated successfully, but these errors were encountered: