-
-
Notifications
You must be signed in to change notification settings - Fork 292
Bug pylint 4206 #921
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Bug pylint 4206 #921
Changes from 9 commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
1beb629
Takes into account the fact that inferring subscript when the node is…
hippo91 4c85bd0
OrderedDict in the collections module inherit from dict which is C co…
hippo91 99a078b
check_metaclass becomes a static class method because we need it in t…
hippo91 32d89e2
The brain_typing module does not add anymore _typing suffixed classes…
hippo91 65a8f88
The OrderedDict class inherits from C coded dict class and thus doesn…
hippo91 0dee7f8
When trying to inherit from typing.Pattern the REPL says : TypeError…
hippo91 450fae1
The REPL says that Derived as ABCMeta for metaclass and the mro is De…
hippo91 eac3ad1
Adds comments
hippo91 2c711e7
Starting with Python39 some collections of the collections.abc module…
hippo91 542eb9c
Thanks to __class_getitem__ method there is no need to hack the metac…
hippo91 f5aef79
SImplifies the inference system for typing objects before python3.9. …
hippo91 84c576c
check_metaclass_is_abc become global to be shared among different cla…
hippo91 20ca3a1
Create a test class dedicated to the Collections brain
hippo91 66c4c7c
Rewrites and adds test
hippo91 8c7d344
Corrects syntax error
hippo91 c392180
Deque, defaultdict and OrderedDict are part of the _collections modul…
hippo91 b0d13d1
Formatting according to black
hippo91 ab26675
Adds two entries
hippo91 230fee4
Extends the filter to determine what is subscriptable to include Orde…
hippo91 79b502c
Formatting according to black
hippo91 91ce864
Takes into account the fact that inferring subscript when the node is…
hippo91 136169b
OrderedDict in the collections module inherit from dict which is C co…
hippo91 4e4e27f
check_metaclass becomes a static class method because we need it in t…
hippo91 324f02c
The brain_typing module does not add anymore _typing suffixed classes…
hippo91 3babaf4
The OrderedDict class inherits from C coded dict class and thus doesn…
hippo91 a1f1dd6
When trying to inherit from typing.Pattern the REPL says : TypeError…
hippo91 92a9422
The REPL says that Derived as ABCMeta for metaclass and the mro is De…
hippo91 7afcd62
Adds comments
hippo91 7b16e00
Starting with Python39 some collections of the collections.abc module…
hippo91 5b56836
Thanks to __class_getitem__ method there is no need to hack the metac…
hippo91 6f4328a
SImplifies the inference system for typing objects before python3.9. …
hippo91 a38e82d
check_metaclass_is_abc become global to be shared among different cla…
hippo91 121a3db
Create a test class dedicated to the Collections brain
hippo91 0654a69
Rewrites and adds test
hippo91 2e382de
Corrects syntax error
hippo91 86bd75a
Deque, defaultdict and OrderedDict are part of the _collections modul…
hippo91 eb87d79
Formatting according to black
hippo91 5d58132
Adds two entries
hippo91 fa7b6e7
Extends the filter to determine what is subscriptable to include Orde…
hippo91 d8759f3
Formatting according to black
hippo91 d8ee527
Takes into account @AWhetter remarks
hippo91 8ff2893
Deactivates access to __class_getitem__ method
hippo91 01c7d3c
Merge branch 'bug_pylint_4206' of https://github.com/hippo91/astroid …
hippo91 0f875c8
OrderedDict appears in typing module with python3.7.2
hippo91 edf1503
_alias function in the typing module appears with python3.7
hippo91 3357204
Formatting according to black
hippo91 38cf33c
_alias function is used also for builtins type and not only for colle…
hippo91 15bdc78
Adds tests for both builtins type that are subscriptable and typing b…
hippo91 c5d1c40
No need to handle builtin types in this brain. It is better suited in…
hippo91 ede0e00
Adds brain to handle builtin types that are subscriptable starting wi…
hippo91 a09f838
Formatting according to black
hippo91 d71a7aa
Uses partial function instead of closure in order pylint acceptance t…
hippo91 1be6d3f
Handling the __class_getitem__ method associated to EmptyNode for bui…
hippo91 aaa9543
infer_typing_alias has to be an inference_tip to avoid interferences …
hippo91 56ab112
Formatting
hippo91 9c42d28
Merge branch 'master' into bug_pylint_4206
hippo91 80b8ca9
Removes useless code
hippo91 30b1e79
Adds comment
hippo91 0bc7d6b
Takes into account @cdce8p remarks
hippo91 5cd0fcb
Formatting
hippo91 2d56141
Style changes
cdce8p File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.