-
-
Notifications
You must be signed in to change notification settings - Fork 845
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
Use ruff instead of flake8, autoflake and isort #2648
Conversation
4a7e81a
to
7e5f310
Compare
@@ -84,7 +84,7 @@ async def test_access_content_stream_response(server): | |||
|
|||
assert response.status_code == 200 | |||
with pytest.raises(httpx.ResponseNotRead): | |||
response.content | |||
response.content # noqa: B018 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How can I track down what a B018 is?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's on the rules page: https://beta.ruff.rs/docs/rules/#flake8-bugbear-b
Should I add a comment here or ignore it globally?
@@ -84,7 +84,7 @@ async def test_access_content_stream_response(server): | |||
|
|||
assert response.status_code == 200 | |||
with pytest.raises(httpx.ResponseNotRead): | |||
response.content | |||
response.content # noqa: B018 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's on the rules page: https://beta.ruff.rs/docs/rules/#flake8-bugbear-b
Should I add a comment here or ignore it globally?
Ref.: #2607