Skip to content

Commit

Permalink
Update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
harupy committed Oct 28, 2023
1 parent 8d39f93 commit 3af27dd
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/ruff_linter/src/rules/flake8_bugbear/mod.rs
---
B015.py:3:1: B015 Pointless comparison. This comparison does nothing but waste CPU instructions. Either prepend `assert` or remove it.
B015.py:3:1: B015 Pointless comparison. This comparison does nothing. Did you mean to assign a value? Either prepend `assert` or remove it.
|
1 | assert 1 == 1
2 |
Expand All @@ -11,23 +11,23 @@ B015.py:3:1: B015 Pointless comparison. This comparison does nothing but waste C
5 | assert 1 in (1, 2)
|

B015.py:7:1: B015 Pointless comparison. This comparison does nothing but waste CPU instructions. Either prepend `assert` or remove it.
B015.py:7:1: B015 Pointless comparison. This comparison does nothing. Did you mean to assign a value? Either prepend `assert` or remove it.
|
5 | assert 1 in (1, 2)
6 |
7 | 1 in (1, 2)
| ^^^^^^^^^^^ B015
|

B015.py:17:5: B015 Pointless comparison. This comparison does nothing but waste CPU instructions. Either prepend `assert` or remove it.
B015.py:17:5: B015 Pointless comparison. This comparison does nothing. Did you mean to assign a value? Either prepend `assert` or remove it.
|
15 | assert 1 in (1, 2)
16 |
17 | 1 in (1, 2)
| ^^^^^^^^^^^ B015
|

B015.py:24:5: B015 Pointless comparison. This comparison does nothing but waste CPU instructions. Either prepend `assert` or remove it.
B015.py:24:5: B015 Pointless comparison. This comparison does nothing. Did you mean to assign a value? Either prepend `assert` or remove it.
|
23 | class TestClass:
24 | 1 == 1
Expand Down

0 comments on commit 3af27dd

Please sign in to comment.