mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
e20a65793e
commit
e11fa357ff
7 changed files with 0 additions and 7 deletions
|
|
@ -6,7 +6,6 @@ from . import StorageTests
|
|||
|
||||
|
||||
class TestMemoryStorage(StorageTests):
|
||||
|
||||
storage_class = MemoryStorage
|
||||
supports_collections = False
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@ from . import StorageTests
|
|||
|
||||
|
||||
class TestSingleFileStorage(StorageTests):
|
||||
|
||||
storage_class = SingleFileStorage
|
||||
supports_metadata = False
|
||||
|
||||
|
|
|
|||
|
|
@ -278,7 +278,6 @@ def test_multiple_pairs(tmpdir, runner):
|
|||
],
|
||||
)
|
||||
def test_create_collections(collections, tmpdir, runner):
|
||||
|
||||
runner.write_with_general(
|
||||
dedent(
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -165,7 +165,6 @@ def metasync(ctx, collections):
|
|||
|
||||
async def main(collection_names):
|
||||
async with aiohttp.TCPConnector(limit_per_host=16) as conn:
|
||||
|
||||
for pair_name, collections in collection_names:
|
||||
collections = prepare_pair(
|
||||
pair_name=pair_name,
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ logger = logging.getLogger(__name__)
|
|||
|
||||
|
||||
class FilesystemStorage(Storage):
|
||||
|
||||
storage_name = "filesystem"
|
||||
_repr_attributes = ["path"]
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ def _random_string():
|
|||
|
||||
|
||||
class MemoryStorage(Storage):
|
||||
|
||||
storage_name = "memory"
|
||||
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -199,7 +199,6 @@ class Upload(Action):
|
|||
self.dest = dest
|
||||
|
||||
async def _run_impl(self, a, b):
|
||||
|
||||
if self.dest.storage.read_only:
|
||||
href = etag = None
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue