diff options
author | Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | 2022-09-03 17:36:37 +0200 |
---|---|---|
committer | Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | 2022-09-03 18:05:24 +0200 |
commit | dca04df3efae7bd0508cdf36ada9d0a3271fd4b9 (patch) | |
tree | 5730b1eefa7460f13392e88f18077d644a5141c5 | |
parent | cb7e6f9ef7751261afeedf5c0c4b5c531f9a6c4a (diff) | |
download | pylint-git-dca04df3efae7bd0508cdf36ada9d0a3271fd4b9.tar.gz |
Remove ignores for ``LocalPath``
-rw-r--r-- | tests/config/test_per_directory_config.py | 2 | ||||
-rw-r--r-- | tests/lint/test_pylinter.py | 2 | ||||
-rw-r--r-- | tests/pyreverse/test_pyreverse_functional.py | 2 | ||||
-rw-r--r-- | tests/test_pylint_runners.py | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/config/test_per_directory_config.py b/tests/config/test_per_directory_config.py index 9bc0ef9bc..4fb656c60 100644 --- a/tests/config/test_per_directory_config.py +++ b/tests/config/test_per_directory_config.py @@ -3,7 +3,7 @@ # Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt -from py._path.local import LocalPath # type: ignore[import] +from py._path.local import LocalPath from pylint.lint import Run diff --git a/tests/lint/test_pylinter.py b/tests/lint/test_pylinter.py index 731af5b0a..495e1c5df 100644 --- a/tests/lint/test_pylinter.py +++ b/tests/lint/test_pylinter.py @@ -7,7 +7,7 @@ from unittest import mock from unittest.mock import patch import pytest -from py._path.local import LocalPath # type: ignore[import] +from py._path.local import LocalPath from pytest import CaptureFixture from pylint.lint.pylinter import PyLinter diff --git a/tests/pyreverse/test_pyreverse_functional.py b/tests/pyreverse/test_pyreverse_functional.py index 2cc880d70..ce45d4087 100644 --- a/tests/pyreverse/test_pyreverse_functional.py +++ b/tests/pyreverse/test_pyreverse_functional.py @@ -5,7 +5,7 @@ from pathlib import Path import pytest -from py._path.local import LocalPath # type: ignore[import] +from py._path.local import LocalPath from pylint.pyreverse.main import Run from pylint.testutils.pyreverse import ( diff --git a/tests/test_pylint_runners.py b/tests/test_pylint_runners.py index aee4f068d..bae13568c 100644 --- a/tests/test_pylint_runners.py +++ b/tests/test_pylint_runners.py @@ -14,7 +14,7 @@ from typing import Any from unittest.mock import MagicMock, mock_open, patch import pytest -from py._path.local import LocalPath # type: ignore[import] +from py._path.local import LocalPath from pylint import run_epylint, run_pylint, run_pyreverse, run_symilar from pylint.lint import Run |