Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ dependencies = [
# Also upgrade requirements_test_min.txt.
# Pinned to dev of second minor update to allow editable installs and fix primer issues,
# see https://github.com/pylint-dev/astroid/issues/1341
"astroid>=3.3.5,<=4.0.0-dev0",
"astroid @ git+https://github.com/danielnoord/astroid.git@collections-fix",
"isort>=4.2.5,<6,!=5.13.0",
"mccabe>=0.6,<0.8",
"tomli>=1.1.0;python_version<'3.11'",
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_min.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.[testutils,spelling]
# astroid dependency is also defined in pyproject.toml
astroid==3.3.5 # Pinned to a specific version for tests
astroid @ git+https://github.com/danielnoord/astroid.git@collections-fix
typing-extensions~=4.12
py~=1.11.0
pytest~=8.3
Expand Down
6 changes: 0 additions & 6 deletions tests/functional/n/no/no_member_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@ def test_ignored_modules_root_one_applies_as_well() -> None:
argparse.submodule.THIS_does_not_EXIST


def test_ignored_modules_patterns() -> None:
import collections

collections.abc.THIS_does_not_EXIST


def test_ignored_classes_no_recursive_pattern() -> None:
import sys

Expand Down
2 changes: 1 addition & 1 deletion tests/functional/n/no/no_member_imports.rc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[TYPECHECK]
ignored-modules=argparse,xml.etree.,collections.abc*
ignored-modules=argparse,xml.etree.
ignored-classes=sys*,optparse.Values,Option
2 changes: 1 addition & 1 deletion tests/functional/n/no/no_member_imports.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
no-member:10:4:10:28:test_no_member_in_getattr:Module 'math' has no 'THIS_does_not_EXIST' member:INFERENCE
no-member:25:4:25:33:test_ignored_modules_invalid_pattern:Module 'xml.etree' has no 'THIS_does_not_EXIST' member:INFERENCE
no-member:44:4:44:27:test_ignored_classes_no_recursive_pattern:Module 'sys' has no 'THIS_does_not_EXIST' member:INFERENCE
no-member:38:4:38:27:test_ignored_classes_no_recursive_pattern:Module 'sys' has no 'THIS_does_not_EXIST' member:INFERENCE
Loading