Skip to content

Commit

Permalink
updates for removing use-maxsplit-arg (#12199)
Browse files Browse the repository at this point in the history
  • Loading branch information
joesho112358 committed Apr 18, 2024
1 parent 3d676d2 commit b204015
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,6 @@ disable = [
"use-dict-literal",
"use-list-literal",
"use-implicit-booleaness-not-comparison",
"use-maxsplit-arg",
]

enable = [
Expand Down
2 changes: 1 addition & 1 deletion test/python/visualization/test_circuit_drawer.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def test_latex_output_file_correct_format(self):
if filename.endswith("jpg"):
self.assertIn(im.format.lower(), "jpeg")
else:
self.assertIn(im.format.lower(), filename.split(".")[-1])
self.assertIn(im.format.lower(), filename.rsplit(".", maxsplit=1)[-1])
os.remove(filename)

def test_wire_order(self):
Expand Down

0 comments on commit b204015

Please sign in to comment.