Upgrades black to v23, upgrades ruff

This commit is contained in:
Trenton H
2023-04-25 09:59:24 -07:00
parent 30655f1b73
commit aabcc9a1c4
147 changed files with 74 additions and 387 deletions

View File

@@ -48,7 +48,6 @@ class _TestMatchingBase(TestCase):
class TestMatching(_TestMatchingBase):
def test_match_none(self):
self._test_matching(
"",
"MATCH_NONE",
@@ -60,7 +59,6 @@ class TestMatching(_TestMatchingBase):
)
def test_match_all(self):
self._test_matching(
"alpha charlie gamma",
"MATCH_ALL",
@@ -107,7 +105,6 @@ class TestMatching(_TestMatchingBase):
)
def test_match_any(self):
self._test_matching(
"alpha charlie gamma",
"MATCH_ANY",
@@ -152,7 +149,6 @@ class TestMatching(_TestMatchingBase):
)
def test_match_literal(self):
self._test_matching(
"alpha charlie gamma",
"MATCH_LITERAL",
@@ -187,7 +183,6 @@ class TestMatching(_TestMatchingBase):
)
def test_match_regex(self):
self._test_matching(
r"alpha\w+gamma",
"MATCH_REGEX",
@@ -211,7 +206,6 @@ class TestMatching(_TestMatchingBase):
self._test_matching("[", "MATCH_REGEX", [], ["Don't match this"])
def test_match_fuzzy(self):
self._test_matching(
"Springfield, Miss.",
"MATCH_FUZZY",
@@ -331,7 +325,6 @@ class TestCaseSensitiveMatching(_TestMatchingBase):
)
def test_match_literal(self):
self._test_matching(
"alpha charlie gamma",
"MATCH_LITERAL",