remove more pylint suppression comments (#10084)

This commit is contained in:
skshetry
2023-11-10 15:19:52 +05:45
committed by GitHub
parent 519cce3fe4
commit d678773b53
47 changed files with 53 additions and 76 deletions
+4 -4
View File
@@ -7,11 +7,11 @@ import pytest
from dvc import env
from dvc.stage import PipelineStage
from dvc.testing.fixtures import * # noqa: F403, pylint: disable=wildcard-import
from dvc.testing.fixtures import * # noqa: F403
from .dir_helpers import * # noqa: F403 # pylint: disable=wildcard-import
from .remotes import * # noqa: F403 # pylint: disable=wildcard-import
from .scripts import * # noqa: F403, pylint: disable=wildcard-import
from .dir_helpers import * # noqa: F403
from .remotes import * # noqa: F403
from .scripts import * # noqa: F403
# Prevent updater and analytics from running their processes
os.environ["DVC_TEST"] = "true"
+1 -1
View File
@@ -5,7 +5,7 @@ from funcy import first, get_in
from dvc import api
from dvc.exceptions import OutputNotFoundError, PathMissingError
from dvc.testing.api_tests import TestAPI # noqa: F401, pylint: disable=unused-import
from dvc.testing.api_tests import TestAPI # noqa: F401
from dvc.testing.tmp_dir import make_subrepo
from dvc.utils.fs import remove
-1
View File
@@ -1,6 +1,5 @@
import pytest
# pylint: disable-next=unused-argument
from tests.unit.repo.experiments.conftest import ( # noqa: F401
exp_stage,
failed_exp_stage,
+1 -1
View File
@@ -10,7 +10,7 @@ from dvc.cli import main
from dvc.exceptions import CheckoutError
from dvc.repo.open_repo import clean_repos
from dvc.stage.exceptions import StageNotFound
from dvc.testing.remote_tests import ( # noqa: F401, pylint: disable=unused-import
from dvc.testing.remote_tests import ( # noqa: F401
TestRemote,
)
from dvc.utils.fs import remove
-1
View File
@@ -1,2 +1 @@
# pylint disable=unused-argument
from tests.unit.repo.experiments.conftest import exp_stage, test_queue # noqa: F401
+1 -1
View File
@@ -1,4 +1,4 @@
from dvc_ssh.tests.fixtures import ( # noqa: F401, pylint: disable=unused-import
from dvc_ssh.tests.fixtures import ( # noqa: F401
make_ssh,
ssh,
ssh_server,