summaryrefslogtreecommitdiff
path: root/pylint/pyreverse/inspector.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/pyreverse/inspector.py')
-rw-r--r--pylint/pyreverse/inspector.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pylint/pyreverse/inspector.py b/pylint/pyreverse/inspector.py
index afd55c0a6..01f720874 100644
--- a/pylint/pyreverse/inspector.py
+++ b/pylint/pyreverse/inspector.py
@@ -18,6 +18,7 @@ from typing import Any, Callable, Optional
import astroid
from astroid import nodes
+from pylint import constants
from pylint.pyreverse import utils
_WrapperFuncT = Callable[[Callable[[str], nodes.Module], str], Optional[nodes.Module]]
@@ -322,7 +323,7 @@ def project_from_files(
files: list[str],
func_wrapper: _WrapperFuncT = _astroid_wrapper,
project_name: str = "no name",
- black_list: tuple[str, ...] = ("CVS",),
+ black_list: tuple[str, ...] = constants.DEFAULT_IGNORE_LIST,
) -> Project:
"""Return a Project from a list of files or modules."""
# build the project representation