From 66397f74a0b1dccba566f76d21473356591c60d2 Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Tue, 21 Jun 2022 15:15:13 +0300 Subject: gn3: fs_helpers: Fix pylint errors * gn3/fs_helpers.py: Remove unused "pathlib" import. (cache_ipfs_file): Disable "unused-argument" warting. --- gn3/fs_helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/. 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: -- cgit v1.2.3