Skip to content

Commit

Permalink
Update test snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
monk-time authored May 23, 2024
1 parent 010570a commit f1877a5
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ G010.py:6:9: G010 [*] Logging statement uses `warn` instead of `warning`
7 | log.warn("Hello world!") # This shouldn't be considered as a logger candidate
8 | logger.warn("Hello world!")
|
= help: Convert to `warn`
= help: Convert to `warning`

Safe fix
3 3 |
Expand All @@ -31,7 +31,7 @@ G010.py:8:8: G010 [*] Logging statement uses `warn` instead of `warning`
9 |
10 | logging . warn("Hello World!")
|
= help: Convert to `warn`
= help: Convert to `warning`

Safe fix
5 5 |
Expand All @@ -52,7 +52,7 @@ G010.py:10:11: G010 [*] Logging statement uses `warn` instead of `warning`
11 |
12 | from logging import warn, warning, exception
|
= help: Convert to `warn`
= help: Convert to `warning`

Safe fix
7 7 | log.warn("Hello world!") # This shouldn't be considered as a logger candidate
Expand All @@ -72,7 +72,7 @@ G010.py:13:1: G010 [*] Logging statement uses `warn` instead of `warning`
14 | warning("foo")
15 | exception("foo")
|
= help: Convert to `warn`
= help: Convert to `warning`

Safe fix
10 10 | logging . warn("Hello World!")
Expand Down

0 comments on commit f1877a5

Please sign in to comment.