summaryrefslogtreecommitdiff
path: root/tests/unittest_brain.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Move from % syntax to format or f-stringsPierre Sassoulas2021-02-211-15/+11
| | | | This is possible with python 3.6
* Remove the # coding, since PEP3120 the default is UTF8Pierre Sassoulas2021-02-211-1/+0
|
* Update copyright noticehippo912021-02-151-1/+3
|
* Move the unit test to unittest_brain because it needs sixhippo912021-02-121-0/+28
|
* Adds missing includehippo912021-02-071-0/+1
|
* Merge branch 'master' into masterhippo912021-02-071-0/+55
|\
| * Julien palard mdk/class getitem (#885)hippo912021-01-241-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add missing __class_getitem__ to deque. * The __class_getitem__ method is added only for python versions above 3.9 * Adds two tests that ensure that __class_getitem__ method is not present for python versions prior to 3.9 but present for python versions above 3.9 * Reorganizes * Adds an entry * Add Julien Palard in copyright Co-authored-by: Julien Palard <julien@palard.fr>
| * Merge pull request #883 from hippo91/bug_pylint_4001hippo912021-01-231-0/+36
| |\ | | | | | | Bug pylint 4001
| | * Formatting according to blackhippo912021-01-201-2/+2
| | |
| | * Adds dochippo912021-01-191-0/+9
| | |
| | * Adds unittest for brain_type modulehippo912021-01-181-0/+27
| | |
| * | brain: Add `__class_getitem__` to `subprocess.Popen` starting from Python 3.9Damien Baty2021-01-181-0/+7
| |/ | | | | | | | | | | | | | | | | | | This is necessary for pylint to detect that `subprocess.Popen` is subscriptable, starting from Python 3.9 (see PyCQA/pylint#4034). $ python3.9 >>> import subprocess >>> subprocess.Popen.__class_getitem__ <bound method GenericAlias of <class 'subprocess.Popen'>>
* | Remove required_version for 3.6 and belowDavid Gilman2020-12-311-9/+0
| | | | | | | | We are now guaranteed to be running on 3.6+
* | Add tox support for six-less environmentsDavid Gilman2020-12-311-0/+7
| |
* | Remove six from astroidDavid Gilman2020-12-301-2/+10
|/
* New copyright noticeshippo912020-12-271-1/+2
|
* Do not crash when encountering starred assignments in enums.Claudiu Popa2020-12-261-0/+10
| | | | Close #835
* Remove dependency on imp.Peter Kolbus2020-11-271-2/+4
|
* Squash one-off inference utility functions to help reduce recursion errors ↵Bryce Guinta2020-06-231-0/+16
| | | | | | | (#804) This also makes debugging a lot simpler reducing the complexity of the function stack.
* Separate string and bytes classes patching (#807)Claudiu Popa2020-06-231-0/+15
| | | Fixes PyCQA/pylint#3599
* Do not crash with SyntaxError when parsing namedtuples with invalid labelClaudiu Popa2020-05-011-0/+12
| | | | Close PyCQA/pylint#3549
* Add missing copyright annotations for the past releasesClaudiu Popa2020-04-271-3/+11
|
* Infer the __len__ result of a subclass of an integerClaudiu Popa2020-03-101-4/+7
| | | | | Rather than failing the inference altogether, we can infer the default int value for subclasses of ints.
* Skip non ``Assign`` and ``AnnAssign`` nodes from enum reinterpretationClaudiu Popa2020-02-101-0/+15
| | | | Closes PyCQA/pylint#3365
* Allow inferring attributes of `HTTPStatus` callableClaudiu Popa2019-12-161-0/+9
| | | | Close PyCQA/pylint#3296
* Moved tests out of package directory (#704)Ashley Whetter2019-10-151-0/+1977