Skip to content

Commit

Permalink
Fix PyreverseConfig imports in pyreverse's tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Sep 15, 2021
1 parent 0687d5c commit a3f3405
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ warn_unused_ignores = True
[mypy-astroid.*]
ignore_missing_imports = True
[mypy-tests.*]
ignore_missing_imports = True
[mypy-coverage]
ignore_missing_imports = True
Expand Down
2 changes: 1 addition & 1 deletion tests/pyreverse/test_diadefs.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

import pytest
from astroid import nodes
from conftest import PyreverseConfig # type: ignore #pylint: disable=no-name-in-module
from tests.pyreverse.conftest import PyreverseConfig

from pylint.pyreverse.diadefslib import (
ClassDiadefGenerator,
Expand Down
2 changes: 1 addition & 1 deletion tests/pyreverse/test_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
from unittest.mock import Mock

import pytest
from conftest import PyreverseConfig # type: ignore #pylint: disable=no-name-in-module
from tests.pyreverse.conftest import PyreverseConfig

from pylint.pyreverse.diadefslib import DefaultDiadefGenerator, DiadefsHandler
from pylint.pyreverse.inspector import Linker, Project
Expand Down

0 comments on commit a3f3405

Please sign in to comment.