-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[flake8-pytest-style
] Ambiguous pattern passed to pytest.raises()
(PT201
)
#14966
base: main
Are you sure you want to change the base?
Conversation
|
code | total | + violation | - violation | + fix | - fix |
---|---|---|---|---|---|
PT201 | 1982 | 1982 | 0 | 0 | 0 |
PLW1514 | 2 | 1 | 1 | 0 | 0 |
This is a really noisy rule. I checked some of the new violations; they all seem to be true positives. The rule currently don't have a fix. Should I add an unsafe "Wrap in |
Summary
Resolves #13705.
Test Plan
cargo nextest run
andcargo insta test
.