mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-16 13:07:14 +00:00
Configures ruff as the one stop linter and resolves warnings it raised
This commit is contained in:
1 parent
5869467db3
commit
ce41ac9158
110 files changed
+507
-491
No files matched your search
@@ -6,14 +6,14 @@ from unittest import mock
|
||||
try:
|
||||
import zoneinfo
|
||||
except ImportError:
|
||||
import backports.zoneinfo as zoneinfo
|
||||
from backports import zoneinfo
|
||||
|
||||
from django.test import override_settings
|
||||
from django.test import TestCase
|
||||
from django.utils import timezone
|
||||
|
||||
from ..models import Correspondent
|
||||
from ..models import Document
|
||||
from documents.models import Correspondent
|
||||
from documents.models import Document
|
||||
|
||||
|
||||
class TestDocument(TestCase):
|
||||
|
||||
Reference in new issue
Block a user