Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PyLint
Browse files Browse the repository at this point in the history
drew2a committed Sep 28, 2021
1 parent 7c720be commit fad3a64
Showing 2 changed files with 12 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -5,10 +5,6 @@
from pony.orm import db_session, select

from tribler_common.simpledefs import CHANNEL_STATE

from tribler_core.exceptions import DuplicateTorrentFileError
from tribler_core.modules.libtorrent.torrentdef import TorrentDef
from tribler_core.components.metadata_store.db.orm_bindings.discrete_clock import clock
from tribler_core.components.metadata_store.db.orm_bindings.channel_metadata import chunks
from tribler_core.components.metadata_store.db.orm_bindings.channel_node import (
CHANNEL_DESCRIPTION_FLAG,
@@ -19,10 +15,15 @@
TODELETE,
UPDATED,
)
from tribler_core.components.metadata_store.db.orm_bindings.discrete_clock import clock
from tribler_core.components.metadata_store.db.orm_bindings.torrent_metadata import tdef_to_metadata_dict
from tribler_core.components.metadata_store.db.serialization import CHANNEL_TORRENT, COLLECTION_NODE, CollectionNodePayload
from tribler_core.components.metadata_store.db.serialization import CHANNEL_TORRENT, COLLECTION_NODE, \
CollectionNodePayload
from tribler_core.exceptions import DuplicateTorrentFileError
from tribler_core.modules.libtorrent.torrentdef import TorrentDef
from tribler_core.utilities.random_utils import random_infohash


# pylint: disable=too-many-statements


Original file line number Diff line number Diff line change
@@ -6,15 +6,14 @@
from datetime import datetime
from unittest.mock import patch

from ipv8.keyvault.crypto import default_eccrypto

from pony.orm import db_session

import pytest
from pony.orm import db_session

from tribler_core.components.metadata_store.db.orm_bindings.channel_metadata import CHANNEL_DIR_NAME_LENGTH, entries_to_chunk
from tribler_core.components.metadata_store.db.orm_bindings.channel_node import NEW
from ipv8.keyvault.crypto import default_eccrypto
from tribler_core.components.metadata_store.community.payload_checker import ObjState, ProcessingResult
from tribler_core.components.metadata_store.db.orm_bindings.channel_metadata import CHANNEL_DIR_NAME_LENGTH, \
entries_to_chunk
from tribler_core.components.metadata_store.db.orm_bindings.channel_node import NEW
from tribler_core.components.metadata_store.db.serialization import (
CHANNEL_TORRENT,
ChannelMetadataPayload,
@@ -28,6 +27,7 @@
from tribler_core.utilities.path_util import Path
from tribler_core.utilities.random_utils import random_infohash


# pylint: disable=protected-access,unused-argument


0 comments on commit fad3a64

Please sign in to comment.