mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
Upgrades black to v23, upgrades ruff
This commit is contained in:
@@ -4,11 +4,9 @@ from paperless_text.signals import text_consumer_declaration
|
||||
|
||||
|
||||
class PaperlessTextConfig(AppConfig):
|
||||
|
||||
name = "paperless_text"
|
||||
|
||||
def ready(self):
|
||||
|
||||
from documents.signals import document_consumer_declaration
|
||||
|
||||
document_consumer_declaration.connect(text_consumer_declaration)
|
||||
|
@@ -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(
|
||||
|
Reference in New Issue
Block a user