Skip to content

Commit

Permalink
Update C0113 to C0117
Browse files Browse the repository at this point in the history
  • Loading branch information
karthiknadig committed Oct 5, 2023
1 parent eafb172 commit 648bf6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bundled/tool/lsp_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def organize_imports(


REPLACEMENTS = {
"C0113:unneeded-not": [
"C0117:unnecessary-negation": [
{
"pattern": r"\snot\s+not",
"repl": r"",
Expand Down
2 changes: 1 addition & 1 deletion src/test/python_tests/test_code_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def _handler(params):
("code", "contents", "new_text"),
[
(
"C0113:unneeded-not",
"C0117:unnecessary-negation",
"""
if not not True:
pass""",
Expand Down

0 comments on commit 648bf6f

Please sign in to comment.