mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-20 13:36:45 +01:00
Chore: Adds additional rules for Ruff linter (#5660)
This commit is contained in:
parent
fb82aa0ee1
commit
4813a7bc70
13 changed files with 117 additions and 99 deletions
|
|
@ -4,11 +4,14 @@ import pickle
|
|||
import re
|
||||
import warnings
|
||||
from collections.abc import Iterator
|
||||
from datetime import datetime
|
||||
from hashlib import sha256
|
||||
from pathlib import Path
|
||||
from typing import TYPE_CHECKING
|
||||
from typing import Optional
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from datetime import datetime
|
||||
from pathlib import Path
|
||||
|
||||
from django.conf import settings
|
||||
from django.core.cache import cache
|
||||
from sklearn.exceptions import InconsistentVersionWarning
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue