aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
authorBonfaceKilz2022-06-21 15:15:13 +0300
committerBonfaceKilz2022-06-21 15:21:47 +0300
commit66397f74a0b1dccba566f76d21473356591c60d2 (patch)
tree4f1daa6dd64fd1f2056dd49ec7735b3a63dab843 /gn3
parent618c1b3e73dc58954e7c84843fad97c04a7b9cfa (diff)
downloadgenenetwork3-66397f74a0b1dccba566f76d21473356591c60d2.tar.gz
gn3: fs_helpers: Fix pylint errors
* gn3/fs_helpers.py: Remove unused "pathlib" import. (cache_ipfs_file): Disable "unused-argument" warting.
Diffstat (limited to 'gn3')
-rw-r--r--gn3/fs_helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/fs_helpers.py b/gn3/fs_helpers.py
index 05767af..e7366ac 100644
--- a/gn3/fs_helpers.py
+++ b/gn3/fs_helpers.py
@@ -5,7 +5,6 @@ import os
import random
import string
import tarfile
-import pathlib
from functools import partial
from typing import Dict
@@ -77,6 +76,7 @@ contents to TARGET_DIR/<dir-hash>.
return {"status": 0, "token": token}
+# pylint: disable=unused-argument
def cache_ipfs_file(ipfs_file: str,
cache_dir: str,
ipfs_addr: str = "/ip4/127.0.0.1/tcp/5001") -> str: