Upgrades black to v23, upgrades ruff

This commit is contained in:
Trenton H
2023-04-25 09:59:24 -07:00
parent 3bcbd05252
commit 6f163111ce
147 changed files with 74 additions and 387 deletions

View File

@@ -9,7 +9,6 @@ from paperless_text.parsers import TextDocumentParser
class TestTextParser(DirectoriesMixin, FileSystemAssertsMixin, TestCase):
def test_thumbnail(self):
parser = TextDocumentParser(None)
# just make sure that it does not crash
@@ -20,7 +19,6 @@ class TestTextParser(DirectoriesMixin, FileSystemAssertsMixin, TestCase):
self.assertIsFile(f)
def test_parse(self):
parser = TextDocumentParser(None)
parser.parse(